Hide Forgot
Description of problem: win7 x86 guest quit with"virtio: trying to map MMIO memory" when checking balloon info using qmp Version-Release number of selected component (if applicable): virtio-win-1.1.7-2 qemu-kvm-0.12.1.2-2.91.el6.x86_64 kernel-2.6.32-44.el6.x86_64 How reproducible: about 20% Steps to Reproduce: 1.Run windows 7 x86 guest with CLI /usr/libexec/qemu-kvm -M pc -m 2G -smp 2 -cpu qemu64,+x2apic -usbdevice tablet -drive file=/mnt/win7-32-virtio.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,mac=00:00:14:3F:20:1A,bus=pci.0 -uuid 1234127c-e6e3-4e67-95da-8dd0a8891cc4 -name win7-32 -qmp tcp:0:4444,server,nowait -vnc :1 -boot c -monitor stdio -device virtio-balloon-pci,bus=pci.0 2.Install virtio balloon driver 3.Install balloon service :blnsrv.exe -i 4.Check balloon info using qmp {"execute":"query-balloon"} Actual results: Guest quit with"virtio: trying to map MMIO memory" Expected results: The balloon info should show correctly Additional info: This issue also happens when using monitor "info balloon" to check balloon info
Did you restart VM after step 2 or 3?
(In reply to comment #2) > Did you restart VM after step 2 or 3? No restart after step 2 and step 3.
VM must be restarted after first-time KWDF framework installation. Usually KMDF co-installer notices the fact that framework was installed first time and asks for rebooting.
(In reply to comment #4) > VM must be restarted after first-time KWDF framework installation. Usually KMDF > co-installer notices the fact that framework was installed first time and asks > for rebooting. Hi, Vadim There is no pop-up info to remind restart after install virtio balloon driver.
(In reply to comment #5) > (In reply to comment #4) > > VM must be restarted after first-time KWDF framework installation. Usually KMDF > > co-installer notices the fact that framework was installed first time and asks > > for rebooting. > Hi, Vadim > There is no pop-up info to remind restart after install virtio balloon driver. If you reboot it, will it work?
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > VM must be restarted after first-time KWDF framework installation. Usually KMDF > > > co-installer notices the fact that framework was installed first time and asks > > > for rebooting. > > Hi, Vadim > > There is no pop-up info to remind restart after install virtio balloon driver. > > If you reboot it, will it work? After I reboot this guest, and using qmp checking balloon info for ten times,can not reproduce this issue.
ok, I think we can close this issue and note the reboot in release notes.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The VM must be restarted after first-time KWDF framework installation. Without restart, the VM might access unprivileged memory when the balloon is used. This will lead to VM crash.
Verify this bug with virtio-win-1.1.11 on qemu-kvm-0.12.1.2-2.109.el6.x86_64 as following: 1. start win7 x86 guest using virt manager 2. install virtio balloon driver 3. reboot guest 4. install balloon service 5. reboot guest 6. after about 15 mins, check libvirt log, we can see query balloon many times, and guest still runs ok [root@t78 libvirt]# cat libvirtd.log |grep query-balloon|wc -l 1005 This bug has been fixed. change status to verified.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -The VM must be restarted after first-time KWDF framework installation. Without restart, the VM might access unprivileged memory when the balloon is used. This will lead to VM crash.+A virtual machine must be restarted after the installation of the kernel windows driver framework. If the virtual machine is not restarted it may crash when a memory balloon is operation is performed.
Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you.