Hide Forgot
Description of problem: balloon driver is firstly installed in windows guest and works well. But when i boot the guest by changed pci addr, balloon driver can't be detected. Version-Release number of selected component (if applicable): # uname -r 2.6.32-220.el6.x86_64 # rpm -qa | grep qemu-kvm qemu-kvm-0.12.1.2-2.210.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.boot a windows guest /usr/libexec/qemu-kvm -m 4G -smp 2 -cpu cpu64-rhel6,+x2apic -drive file=/mnt/xigao/win2008-32-virtio.raw,format=raw,if=none,id=drive-virtio-0-0,werror=stop,rerror=stop,cache=none -device virtio-blk-pci,drive=drive-virtio-0-0,id=virtio-0-0,bus=pci.0,addr=0x3,bootindex=1 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,mac=00:10:20:2d:31:21,bus=pci.0,addr=0x4,id=net0 -uuid `uuidgen` -rtc base=localtime,clock=host,driftfix=slew -no-kvm-pit-reinjection -monitor stdio -name win2008-32 -spice port=8000,disable-ticketing -vga qxl -balloon none -usb -device usb-tablet -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=4,bus=pci.0,addr=0x05 -chardev socket,id=channel0,path=/var/lib/libvirt/qemu/win2k8-R2.channel0,server,nowait -device virtserialport,chardev=channel0,name=org.linux-kvm.port.0,bus=virtio-serial0.0 -device virtio-balloon-pci,addr=0x6,bus=pci.0 -drive file=/home/disk1.raw,if=none,id=drive-virtio1,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-virtio1,id=virtio-blk-pci1,addr=0x7,bus=pci.0 2 install ballon driver,restart the guest and detect it in device manager 3 change the pci addr /usr/libexec/qemu-kvm -device virtio-balloon-pci,addr=0xa,bus=pci.0 4 check balloon driver in device manager Actual results: balloon driver can not be detected in device manager Expected results: balloon driver can be detected in device manager when changing pci addr. Additional info: when changing the pci addr of other device driver, such as blok driver,net driver and so on, these drivers can be detected in device manager
winxp also hit the same issue. steps. 1.start guest with -device virtio-balloon-pci,id=balloon0,addr=0x5 2.(qemu)device_del balloon0 3.(qemu)device_add -device virtio-balloon-pci,id=balloon0,addr=0x7
(In reply to comment #0) > Description of problem: > balloon driver is firstly installed in windows guest and works well. But when i > boot the guest by changed pci addr, balloon driver can't be detected. > > Version-Release number of selected component (if applicable): > # uname -r > 2.6.32-220.el6.x86_64 > # rpm -qa | grep qemu-kvm > qemu-kvm-0.12.1.2-2.210.el6.x86_64 > virito-win version: virtio-win-prewhql-0.1.19
(In reply to comment #2) > (In reply to comment #0) > > Description of problem: > > balloon driver is firstly installed in windows guest and works well. But when i > > boot the guest by changed pci addr, balloon driver can't be detected. > > > > Version-Release number of selected component (if applicable): > > # uname -r > > 2.6.32-220.el6.x86_64 > > # rpm -qa | grep qemu-kvm > > qemu-kvm-0.12.1.2-2.210.el6.x86_64 > > > virito-win version: > virtio-win-prewhql-0.1.19 guest version : win2008-32
Please try the MS signed drivers. It should work. Best, Vadim.
(In reply to comment #4) > Please try the MS signed drivers. > It should work. > > Best, > Vadim. Indeed, it works well after changing MS signed drivers. Best Xiaomei Gao
Based on comment #4 and comment #5 ,close as notabug