QMP: Revamp the Python class example
This commit simplifies and fixes a number of problems in the PythonQEMUMonitorProtocol example class.
It's almost a rewrite and it DOES BREAK the qmp-shell script (whichis going to be fixed in the next commit).
However, I'm not going to split this in different commits because it...
QMP: Revamp the qmp-shell script
This commit updates the qmp-shell script to use the new interfaceintroduced by the last commit.
Additionally, the following fixes/features are also introduced:
o TCP sockets support o Update/add documentation o Simple command-line completion...
QMP: Drop vm-info example script
It's broken and not really useful, let's just drop it.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
usb-linux: Store devpath into USBHostDevice when usb_fs_type == USB_FS_SYS
This allows us to recreate the sysfspath used during scanning later(which will be used in a later patch in this series).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
usb-linux: introduce a usb_linux_get_configuration function
The next patch in this series introduces multiple ways to get theconfiguration dependent upon usb_fs_type, it is cleaner to put thisinto its own function.
usb-linux: Get the active configuration from sysfs rather then asking the dev
Some devices seem to choke on receiving a USB_REQ_GET_CONFIGURATION ctrl msg(witnessed with a digital picture frame usb id 1908:1320).When usb_fs_type == USB_FS_SYS, the active configuration can be read directly...
Delete IOHandlers after potentially running them
Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read()handler that deletes its IOHandler is exposed to .fd_write() beingcalled on the deleted IOHandler.
This patch fixes deletion so that .fd_read() and .fd_write() are never...
Fix compilation failure with simple trace when srcdir==objdir
Fix a makefile error that meant that qemu would not compile ifthe source and object directories were the same.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pc: e820 qemu_cfg tables need to be packed
We can't let the compiler define the alignment for qemu_cfg data.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pc: Fix e820 fw_cfg for big endian
View all revisions | View revisions
Also available in: Atom