Bug 725621 - Need a prompt when ballooning guest memory but balloon driver is not installed or disabled
Summary: Need a prompt when ballooning guest memory but balloon driver is not installe...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Amit Shah
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-26 05:26 UTC by Qunfang Zhang
Modified: 2013-01-10 00:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-09 11:59:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Qunfang Zhang 2011-07-26 05:26:54 UTC
Description of problem:
Boot guest with balloon device, but uninstall or disabled balloon driver inside guest, and then balloon the memory, there's no prompt.
For rhel guest, rmmod virtio_balloon 
For win guest, disable/uninstall balloon driver from device manager.

Version-Release number of selected component (if applicable):
kernel-2.6.32-171.el6.x86_64
qemu-kvm-0.12.1.2-2.171.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Boot a guest with balloon device
/usr/libexec/qemu-kvm -m 4G -smp 4 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -drive file=win7-64-virtio.qcow2,format=qcow2,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,mac=00:10:1a:20:06:28,bus=pci.0,addr=0x6 -boot dc -uuid bea9c85e-0a47-4030-979d-5d94bb3d6161 -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -qmp tcp:0:4444,server,nowait -name win7-64-balloon -spice disable-ticketing,port=5931 -vga qxl -device virtio-balloon-pci,bus=pci.0,id=balloon0

2. Disable balloon driver inside guest.
3. Balloon memory
{"execute":"balloon","arguments":{"value":2147483648}}
{"return": {}}
  
Actual results:
No prompt telling user the balloon is disabled/uninstalled.

Expected results:
It will be fine to have a prompt.

Additional info:

Comment 3 Amit Shah 2011-12-09 10:49:36 UTC
I have an idea on how we could achieve this; will float a patch upstream and see if it passes review.

Comment 4 Amit Shah 2011-12-09 11:32:40 UTC
Related bug 750704

Comment 5 Amit Shah 2011-12-09 11:59:41 UTC
Won't fix this; see discussion in bug 750704.


Note You need to log in before you can comment on or make changes to this bug.