Skip to contentSkip to conversation

Virtioserial changed behavior after f7f7464afdb9f

Qemu-devel Michal Privoznik 2 participants 2 messages Apr 25, 2013

lore
Share & tools
lore
#0 lore raw

I've noticed some strange behavior after the commit from $subj:

$ qemu-system-x86_64 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 
qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0: Bus 'virtio-serial0.0' is full
qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0: Bus 'virtio-serial0.0' not found

qemu.git $ ./x86_64-softmmu/qemu-system-x86_64 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-chardev socket,id=charchannel0,path=/tmp/agent.sock,server,nowait

while before this commit it works just fine. Am I missing something (e.g. cmd line has changed)?

Michal

#1 lore raw
Quoted 13 lines · Michal Privoznik

I've noticed some strange behavior after the commit from $subj:

$ qemu-system-x86_64 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0
qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0: Bus 'virtio-serial0.0' is full
qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0: Bus 'virtio-serial0.0' not found

qemu.git $ ./x86_64-softmmu/qemu-system-x86_64 \

(quoted diff) +0 -3
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-chardev socket,id=charchannel0,path=/tmp/agent.sock,server,nowait
Quoted 4 lines

while before this commit it works just fine. Am I missing something (e.g. cmd line has changed)?

Michal

Yes, it's a bug, I need to fix that.

Fred