[libvirt] [PATCH] virsh: Add more human-friendly output of domblkstat command

2011-08-29 Thread Peter Krempa
Users of virsh complain that output of the domblkstat command is not intuitive enough. This patch adds explanation of fields returned by this command to the help section for domblkstat and the man page of virsh. Also a switch --human is added for domblkstat that prints the fields with more

Re: [libvirt] Notes from the KVM Forum relevant to libvirt

2011-08-29 Thread Serge Hallyn
Quoting Daniel P. Berrange (berra...@redhat.com): On Thu, Aug 25, 2011 at 08:58:27AM -0500, Serge E. Hallyn wrote: Quoting Stefan Hajnoczi (stefa...@gmail.com): On Thu, Aug 25, 2011 at 11:03 AM, Daniel P. Berrange berra...@redhat.com wrote: On Thu, Aug 25, 2011 at 10:10:27AM +0100,

Re: [libvirt] [PATCH 6/6] qemu: Use fd: protocol for migration

2011-08-29 Thread Eric Blake
On 08/15/2011 01:58 AM, Jiri Denemark wrote: By opening a connection to remote qemu process ourselves and passing the socket to qemu we get much better errors than just migration failed when the connection is opened by qemu. --- src/qemu/qemu_migration.c | 128

Re: [libvirt] [PATCH] rpc: fix a typo in debugging log in virNetServerProgramSendStreamData

2011-08-29 Thread Eric Blake
On 08/27/2011 11:46 PM, Guannan Ren wrote: The bufferOffset has been initialized to zero in virNetMessageEncodePayloadRaw(), so, we use bufferLength to represent the length of message which is going to be sent to client side. --- src/rpc/virnetserverprogram.c |2 +- 1 files changed,

[libvirt] [PATCH] Learn to use spicevmc as a redirection type for usb-redir

2011-08-29 Thread Marc-André Lureau
This patch should be applied on top of Add usb-redir device https://www.redhat.com/archives/libvir-list/2011-August/msg01294.html --- src/conf/domain_conf.c | 31 --- src/conf/domain_conf.h |1 +

[libvirt] [v2 1/4] Fix typo s/type/managed

2011-08-29 Thread Marc-André Lureau
--- virtinst/VirtualHostDevice.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/virtinst/VirtualHostDevice.py b/virtinst/VirtualHostDevice.py index d0c1544..2175266 100644 --- a/virtinst/VirtualHostDevice.py +++ b/virtinst/VirtualHostDevice.py @@ -120,7 +120,7 @@ class

[libvirt] [v2 1/3] virt-manager: Add controller model in details

2011-08-29 Thread Marc-André Lureau
--- src/virtManager/details.py |5 + src/vmm-details.glade | 29 + 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/virtManager/details.py b/src/virtManager/details.py index 1fb7d3a..fd6cc3a 100644 --- a/src/virtManager/details.py +++

[libvirt] [v2 3/3] virt-manager: Learn to add USB redirection devices

2011-08-29 Thread Marc-André Lureau
--- src/virtManager/addhardware.py | 66 ++- src/vmm-add-hardware.glade | 254 +++- 2 files changed, 314 insertions(+), 6 deletions(-) diff --git a/src/virtManager/addhardware.py b/src/virtManager/addhardware.py index b846170..b32c80d 100644 ---

[libvirt] [v2 2/4] Add advanced --controller support, augmenting VirtualController

2011-08-29 Thread Marc-André Lureau
This allow support for USB companion controllers and such. See man/en/virt-install.pod.in doc. We may want to add too a simpler --controller ich9-with-companions, or just --controller usb2. --- man/en/virt-clone.1 |6 ++- man/en/virt-image.1

[libvirt] [v2 2/3] virt-manager: Add redirected devices details

2011-08-29 Thread Marc-André Lureau
--- src/virtManager/details.py | 28 - src/virtManager/uihelpers.py | 19 + src/vmm-details.glade| 89 ++ 3 files changed, 134 insertions(+), 2 deletions(-) diff --git a/src/virtManager/details.py

[libvirt] [v2 0/4] python-virtinst USB improvements

2011-08-29 Thread Marc-André Lureau
Hi, Here are a few patches that go with the libvirt series to improve USB support. It adds --controller and --usbredir, as well as providing some new API for virt-manager. The last patch default USB controller to ich9/usb2 on Windows 7 guest. More OS probably support it, since it's been around

[libvirt] [v2 0/3] virt-manager USB improvements

2011-08-29 Thread Marc-André Lureau
Hi, This is an update of the patch series sent earlier. v2 adds support for USB redirection over Spice channel. Marc-André Lureau (3): virt-manager: Add controller model in details virt-manager: Add redirected devices details virt-manager: Learn to add USB redirection devices

[libvirt] [v2 4/4] RFC: Default to ICH9 USB2 controller for Win7

2011-08-29 Thread Marc-André Lureau
We may want to add more guests, though I don't know exactly which version supports it. So this patch is a proof-of-concept/idea. --- virtinst/Guest.py | 26 ++ virtinst/osdict.py |3 +++ virtinst/support.py |6 ++ 3 files changed, 35 insertions(+), 0

Re: [libvirt] [v2 0/4] python-virtinst USB improvements

2011-08-29 Thread Eric Blake
On 08/29/2011 02:13 PM, Marc-André Lureau wrote: Hi, Here are a few patches that go with the libvirt series to improve USB support. It adds --controller and --usbredir, as well as providing some new API for virt-manager. virt-manager and virt-install patches are better sent to

Re: [libvirt] [v2 0/4] python-virtinst USB improvements

2011-08-29 Thread Marc-André Lureau
Hi, - Original Message - virt-manager and virt-install patches are better sent to virt-tools-l...@redhat.com Sorry, thanks for the reminder, it seems I've completely forgotten. regards -- Marc-André Lureau -- libvir-list mailing list libvir-list@redhat.com

[libvirt] The design choice for how to enable block I/O throttling function in libvirt

2011-08-29 Thread Zhi Yong Wu
HI, folks, I am trying to enable block I/O throttling function in libvirt. But currently i met some design questions, and don't make sure if we should extend blkiotune to support block I/O throttling or introduce one new libvirt command blkiothrottle to cover it or not. If you have some better

Re: [libvirt] [RFC] NUMA topology specification

2011-08-29 Thread Bharata B Rao
Hi, Here is another attempt at guest NUMA topology XML specification that should work for different NUMA topologies. We already specify the number of sockets, cores and threads a system has by using: cpu topology sockets='2' cores='2' threads='2' /cpu For NUMA, we can add the following: numa

[libvirt] [test-API][PATCH v3] Add ownership_test.py test case

2011-08-29 Thread Wayne Sun
* Save a domain to a file which chown is qemu:qemu, check the ownership of the file after save and restore operation. With use_nfs enable or not, the saved file could be on local or mounted root_squash nfs dir. --- repos/domain/ownership_test.py | 315