RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1074469 - [virtio-win][qemu-ga-win] qemu guest agent should report correctly error description (windows guest)
Summary: [virtio-win][qemu-ga-win] qemu guest agent should report correctly error desc...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virtio-win
Version: 6.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Yvugenfi@redhat.com
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1073208 1075292
TreeView+ depends on / blocked
 
Reported: 2014-03-10 10:23 UTC by Sibiao Luo
Modified: 2014-07-27 11:35 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1075292 (view as bug list)
Environment:
Last Closed: 2014-07-27 11:35:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sibiao Luo 2014-03-10 10:23:09 UTC
Description of problem:
we have fixed it in bug 797227, but now qemu-ga-win hit it, qemu-guest-agent did not have such issue.

Version-Release number of selected component (if applicable):
host info:
2.6.32-447.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.422.el6.x86_64
guest info:
win7-64bit
qemu-ga-win-6.5-7
virtio-win-prewhql-0.1-74 

How reproducible:
100%

Steps to Reproduce:
1.Start guest with virtio serial and install qemu-ga-win-6.5-7 inside guest.
e.g:...-device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pci.0,addr=0x3 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0
2.Connect the chardev socket in host side for sending commands to guest:
# nc -U /tmp/qga.sock readline
3.Send a unknown/unsupported/typo command in the host side, for example:

Actual results:
after step 3,
# nc -U /tmp/qga.sock readline
{"execute": "guest-ping"}
{"return": {}}
{ "execute": "system_reboot"}
{"error": {"desc": "The command system_reboot has not been found"}}

{"execute":"guest-suspend-"}
{"error": {"desc": "The command guest-suspend- has not been found"}}

{"execute":"guest-suspend-hybrid"}
{"error": {"desc": "this feature or command is not currently supported"}}

{"execute":"guest-s"}
{"error": {"desc": "The command guest-s has not been found"}}

Expected results:
{ "execute": "system_reboot"}
{"error": {"class": "CommandNotFound", "desc": "The command unknown-command has not been found", "data": {"name": "unknown-command"}}}

{"execute":"guest-suspend-"}
{"error": {"class": "CommandNotFound", "desc": "The command guest-suspend- has not been found", "data": {"name": "guest-suspend-"}}}

{"execute":"guest-suspend-hybrid"}
{"error": {"class": "Unsupported", "desc": "this feature or command is not currently supported", "data": {}}}

{"execute":"guest-s"}
{"error": {"class": "CommandNotFound", "desc": "The command guest-s has not been found", "data": {"name": "guest-s"}}}

Additional info:

Comment 2 Sibiao Luo 2014-03-10 10:27:42 UTC
# /usr/libexec/qemu-kvm -M rhel6.5.0 -enable-kvm -m 4096 -smp 4,sockets=2,cores=2,threads=1 -no-kvm-pit-reinjection -uuid 350e716b-5f98-4bf0-9a2a-c8e123295244 -usb -device usb-tablet,id=input0 -rtc base=localtime,clock=host,driftfix=slew -drive file=/home/en_windows_7_ultimate_x64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2E:5F:0A:1D:B1,bus=pci.0,addr=0x5 -device virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x6 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -k en-us -boot menu=on -qmp tcp:0:4444,server,nowait -serial unix:/tmp/ttyS0,server,nowait -spice port=5930,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -monitor stdio -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0,bus=pci.0,addr=0x3 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0

Comment 4 RHEL Program Management 2014-07-27 11:35:41 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


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