virBufferEscapeRegex(&buf, "^%s", prefix);
if (infix)
virBufferEscapeRegex(&buf, "%s", infix);
- virBufferAddLit(&buf, "/(target/)?([^/]+\\.)|(domain-[^/]+/)|([0-9]+-[^/]+/)");
+ virBufferAddLit(&buf, "/(target/)?(([^/]+\\.)|(domain-[^/]+/)|([0-9]+-[^/]+/))");
virBufferEscapeRegex(&buf, "%s$", target);
regexp = virBufferContentAndReset(&buf);
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":5,"chardev":"charchannel4","id":"channel4","name":"org.qemu.guest_agent.4"}' \
-chardev socket,id=charchannel5,fd=1729,server=on,wait=off \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":6,"chardev":"charchannel5","id":"channel5","name":"org.qemu.guest_agent.5"}' \
+-chardev socket,id=charchannel6,fd=1729,server=on,wait=off \
+-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":7,"chardev":"charchannel6","id":"channel6","name":"org.qemu.guest_agent.6"}' \
+-chardev socket,id=charchannel7,fd=1729,server=on,wait=off \
+-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":8,"chardev":"charchannel7","id":"channel7","name":"org.qemu.guest_agent.7"}' \
+-chardev socket,id=charchannel8,fd=1729,server=on,wait=off \
+-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":9,"chardev":"charchannel8","id":"channel8","name":"org.qemu.guest_agent.8"}' \
+-chardev socket,id=charchannel9,fd=1729,server=on,wait=off \
+-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":10,"chardev":"charchannel9","id":"channel9","name":"org.qemu.guest_agent.9"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
<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>
<target type='virtio' name='org.qemu.guest_agent.5'/>
<address type='virtio-serial' controller='0' bus='0' port='6'/>
</channel>
+ <channel type='unix'>
+ <source mode='bind' path='/1-QEMUGuest1/org.qemu.guest_agent.6'/>
+ <target type='virtio' name='org.qemu.guest_agent.6'/>
+ <address type='virtio-serial' controller='0' bus='0' port='7'/>
+ </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'/>
+ <address type='virtio-serial' controller='0' bus='0' port='8'/>
+ </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'/>
+ <address type='virtio-serial' controller='0' bus='0' port='9'/>
+ </channel>
+ <channel type='unix'>
+ <source mode='bind' path='/tmp/org.qemu.guest_agent.9'/>
+ <target type='virtio' name='org.qemu.guest_agent.9'/>
+ <address type='virtio-serial' controller='0' bus='0' port='10'/>
+ </channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<target type='virtio' name='org.qemu.guest_agent.5'/>
<address type='virtio-serial' controller='0' bus='0' port='6'/>
</channel>
+ <channel type='unix'>
+ <source mode='bind' path='/1-QEMUGuest1/org.qemu.guest_agent.6'/>
+ <target type='virtio' name='org.qemu.guest_agent.6'/>
+ <address type='virtio-serial' controller='0' bus='0' port='7'/>
+ </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'/>
+ <address type='virtio-serial' controller='0' bus='0' port='8'/>
+ </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'/>
+ <address type='virtio-serial' controller='0' bus='0' port='9'/>
+ </channel>
+ <channel type='unix'>
+ <source mode='bind' path='/tmp/org.qemu.guest_agent.9'/>
+ <target type='virtio' name='org.qemu.guest_agent.9'/>
+ <address type='virtio-serial' controller='0' bus='0' port='10'/>
+ </channel>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>