[libvirt] [PATCH 0/3] reattach pci devices when qemuPrepareHostdevPCIDevices() failed

2011-03-27 Thread Wen Congyang
When I try to attach a pci device to guest OS, libvirtd resets the pci failed. But I can not use this pci device after attaching pci device failed. I must rollback the operation by hand. I think libvirtd should auto rollback the operation when it failed. Wen Congyang (3): remove devices from dr

Re: [libvirt] [PATCH 1/8] Add event callbacks to libxl driver

2011-03-27 Thread Markus Groß
Am Donnerstag 24 März 2011 17:24:26 schrieb Jim Fehlig: > Markus Groß wrote: > > @@ -225,6 +284,9 @@ static void libxlEventHandler(int watch, > > switch (info.shutdown_reason) { > > case SHUTDOWN_poweroff: > > case SHUTDOWN_crash: > > +dom_event =

[libvirt] Entering 0.9.0 freeze week, RC1 version to test

2011-03-27 Thread Daniel Veillard
Okay, I pushed new localization updates around and generated a first release candidate build for 0.9.0 at: ftp://libvirt.org/libvirt/libvirt-0.9.0-rc1.tar.gz I will regenerate a rc2 as soon as Eric pending patch queue and outgoing fd patches are in as I think they should really make 0.9.0 The

Re: [libvirt] virsh sechedinfo/memtune with libvirt-0.8.8

2011-03-27 Thread Osier Yang
于 2011年03月28日 12:52, Zvi Dubitzky 写道: Sorry . I have'nt got an answer from the user's list . I have fedora14 installed with its standard libvirt-0.8.3. I can start VM using .xml files and also run: virsh schedinfo. the cgroup CPU controller is mounted and active . In fact I have the path to t

[libvirt] virsh sechedinfo/memtune with libvirt-0.8.8

2011-03-27 Thread Zvi Dubitzky
Sorry . I have'nt got an answer from the user's list . I have fedora14 installed with its standard libvirt-0.8.3. I can start VM using .xml files and also run: virsh schedinfo. the cgroup CPU controller is mounted and active . In fact I have the path to the Virtual machine : /dev/cgroup/c

Re: [libvirt] [PATCH] qemu: Only restore security label when saving is successfull.

2011-03-27 Thread Osier Yang
于 2011年03月25日 23:54, Eric Blake 写道: On 03/25/2011 02:54 AM, Osier Yang wrote: "qemudDomainSaveFlag" trys to restore security label even if the saving fails, a useless warning will be thowed then, e.g. if "doStopVcpus" fails. * src/qemu/qemu_driver.c --- src/qemu/qemu_driver.c |5 - 1

Re: [libvirt] [PATCHv2] Don't allow two or more disks to be mapped to the same image file

2011-03-27 Thread Hu Tao
On Fri, Mar 25, 2011 at 10:35:13AM -0400, Laine Stump wrote: > On 03/25/2011 03:00 AM, Hu Tao wrote: > >On Thu, Mar 24, 2011 at 03:45:26PM -0600, Eric Blake wrote: > >>On 03/24/2011 02:46 AM, Hu Tao wrote: > >>>If two or more disks are mapped to the same image file, operating > >>>on these disks at

[libvirt] [PATCH] Allow relative path for qemu backing file

2011-03-27 Thread Jesse Cook
This patch enables the relative backing file path support provided by qemu-img create. If a relative path is specified for the backing file, it is converted to an absolute path using the storage pool path. The absolute path is used to verify that the backing file exists. If the backing file exists

Re: [libvirt] [PATCH 4/8] tests: don't alter state in $HOME

2011-03-27 Thread Laine Stump
On 03/26/2011 08:12 AM, Eric Blake wrote: Diego reported a bug where virsh tries to initialize a readline history directory during 'make check' run as root, but fails because /root was read-only. It turns out that I could reproduce this as non-root, by using: mv ~/.virsh{,.bak} chmod a-w ~ make

Re: [libvirt] [PATCH 7/8] logging: always NUL-terminate circular buffer

2011-03-27 Thread Laine Stump
On 03/26/2011 08:12 AM, Eric Blake wrote: * src/util/logging.c (virLogStartup, virLogSetBufferSize): Over-allocate, so that a debugger can just print the circular buffer. Suggested by Daniel Veillard. --- Original post: https://www.redhat.com/archives/libvir-list/2011-March/msg01107.html src

Re: [libvirt] [PATCH 6/8] maint: use space, not tab, in remote_protocol-structs

2011-03-27 Thread Laine Stump
On 03/26/2011 08:12 AM, Eric Blake wrote: * src/Makefile.am (remote_protocol-structs): Flatten tabs. * src/remote_protocol-structs: Likewise. Also add a hint to emacs to make it easier to keep spaces in the file. --- Original post: https://www.redhat.com/archives/libvir-list/2011-March/msg00519

Re: [libvirt] [PATCH 3/8] docs: document recent hook additions

2011-03-27 Thread Laine Stump
On 03/26/2011 08:12 AM, Eric Blake wrote: * src/qemu/qemu_process.c (qemuProcessStart, qemuProcessStop): Fix typos. * docs/hooks.html.in: Document 'prepare' and 'release' hooks. --- Original post: https://www.redhat.com/archives/libvir-list/2011-March/msg01112.html docs/hooks.html.in |

Re: [libvirt] [PATCH 2/8] qemu: don't restore state label twice

2011-03-27 Thread Laine Stump
On 03/26/2011 08:12 AM, Eric Blake wrote: Otherwise, if something like doStopVcpus fails after the first restore, a second restore is attempted and throws a useless warning. * src/qemu/qemu_driver.c (qemudDomainSaveFlag): Avoid second restore of state label. --- Original post: https://www.redha