mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
9cbda34e98
In v9.7.0-rc1~130 I've shortened the path that's generated for <channel/> source. With that, I had to adjust regex that matches all versions of paths we have ever generated so that we can drop them (see comment around qemuDomainChrDefDropDefaultPath()). But as it is usually the case with regexes - they are write only. And while I attempted to make one portion of the path optional ("/target/") I accidentally made regex accept more, which resulted in libvirt dropping the user provided path and generating our own instead. Fixes: d3759d3674ab9453e5fb5a27ab6c28b8ff8d5569 Resolves: https://issues.redhat.com/browse/RHEL-20807 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
54 lines
2.3 KiB
XML
54 lines
2.3 KiB
XML
<domain type='qemu'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>219100</memory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine='pc'>hvm</type>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<channel type='unix'>
|
|
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/QEMUGuest1.org.qemu.guest_agent.0'/>
|
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
|
</channel>
|
|
<channel type='unix'>
|
|
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-QEMUGuest1/org.qemu.guest_agent.1'/>
|
|
<target type='virtio' name='org.qemu.guest_agent.1'/>
|
|
</channel>
|
|
<channel type='unix'>
|
|
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-1-QEMUGuest1/org.qemu.guest_agent.2'/>
|
|
<target type='virtio' name='org.qemu.guest_agent.2'/>
|
|
</channel>
|
|
<channel type='unix'>
|
|
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/QEMUGuest1/org.qemu.guest_agent.3'/>
|
|
<target type='virtio' name='org.qemu.guest_agent.3'/>
|
|
</channel>
|
|
<channel type='unix'>
|
|
<source mode='bind' path='/var/lib/libvirt/qemu/channel/1-QEMUGuest1/org.qemu.guest_agent.4'/>
|
|
<target type='virtio' name='org.qemu.guest_agent.4'/>
|
|
</channel>
|
|
<channel type='unix'>
|
|
<source mode='bind' path='/var/run/libvirt/qemu/channel/1-QEMUGuest1/org.qemu.guest_agent.5'/>
|
|
<target type='virtio' name='org.qemu.guest_agent.5'/>
|
|
</channel>
|
|
<channel type="unix">
|
|
<source mode="bind" path="/1-QEMUGuest1/org.qemu.guest_agent.6"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.6" state="connected"/>
|
|
</channel>
|
|
<channel type="unix">
|
|
<source mode="bind" path="/tmp/1-QEMUGuest1/org.qemu.guest_agent.7"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.7" state="connected"/>
|
|
</channel>
|
|
<channel type="unix">
|
|
<source mode="bind" path="/tmp/libvirt/qemu/channel/1-QEMUGuest1/org.qemu.guest_agent.8"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.8" state="connected"/>
|
|
</channel>
|
|
<channel type="unix">
|
|
<source mode="bind" path="/tmp/org.qemu.guest_agent.9"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.9" state="connected"/>
|
|
</channel>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|