Re: [libvirt] [PATCH] add the check whether the domain has already used a disk which attach

2008-11-06 Thread S.Sakamoto
On Wed, Nov 05, 2008 at 10:05:14AM +0900, S.Sakamoto wrote: Hi, attach-disk does not give an error, when the domain which is attached has already used the source which attach. This has danger of the data corruption. I make the patch to add the check of this. This patch outputs

Re: [libvirt] [PATCH] add the check whether the domain has already used a disk which attach

2008-11-06 Thread Daniel P. Berrange
On Thu, Nov 06, 2008 at 07:15:07PM +0900, S.Sakamoto wrote: On Wed, Nov 05, 2008 at 10:05:14AM +0900, S.Sakamoto wrote: Hi, attach-disk does not give an error, when the domain which is attached has already used the source which attach. This has danger of the data corruption.

[libvirt] [PATCH] cleanup of loging definitions

2008-11-06 Thread Daniel Veillard
Currently the debugFlag switch, the VIR_DEBUG, DEBUG and DEBUG0 macros were scattered in various places, duplicated once (or twice) per generated binaries. This patch moves everything in one virtlog.h header, one virtlog.c file and set up the makefiles so that the various binaries refers to the

[libvirt] Openvz bridge support

2008-11-06 Thread Anton Protopopov
Hi, 2008/10/14 Daniel P. Berrange [EMAIL PROTECTED] This patch series is derived from Anton Protopopov /Evgeniy Sokolov bridge device patches. It first does some generic refactoring of MAC address handler in all drivers, then adds code to extract openvz version number, then does network

Re: [libvirt] Openvz bridge support

2008-11-06 Thread Daniel Veillard
On Thu, Nov 06, 2008 at 04:36:54PM +0300, Anton Protopopov wrote: Hi, 2008/10/14 Daniel P. Berrange [EMAIL PROTECTED] This patch series is derived from Anton Protopopov /Evgeniy Sokolov bridge device patches. It first does some generic refactoring of MAC address handler in all drivers,

[libvirt] [PATCH]: Implement Qemu/KVM live migration

2008-11-06 Thread Chris Lalancette
All, Attached is a patch to implement Qemu/KVM live migration in libvirt. Now that upstream Qemu has settled on an interface that is friendly to libvirt (i.e. one that doesn't block the monitor on -incoming), we can implement it here. Note that the bulk of this patch was written by Rich

Re: [libvirt] [PATCH] cleanup of loging definitions

2008-11-06 Thread Daniel P. Berrange
On Thu, Nov 06, 2008 at 02:16:52PM +0100, Daniel Veillard wrote: Currently the debugFlag switch, the VIR_DEBUG, DEBUG and DEBUG0 macros were scattered in various places, duplicated once (or twice) per generated binaries. This patch moves everything in one virtlog.h header, one virtlog.c file

Re: [libvirt] Openvz bridge support

2008-11-06 Thread Daniel P. Berrange
On Thu, Nov 06, 2008 at 03:02:42PM +0100, Daniel Veillard wrote: On Thu, Nov 06, 2008 at 04:36:54PM +0300, Anton Protopopov wrote: Hi, 2008/10/14 Daniel P. Berrange [EMAIL PROTECTED] This patch series is derived from Anton Protopopov /Evgeniy Sokolov bridge device patches. It

[libvirt] [PATCH] Xen events

2008-11-06 Thread Ben Guthro
The following patch implements a framework for emitting events from the Xen driver, via monitoring xenstore. Currently, this only emits the STARTED, and STOPPED events, as this is all that seems to be available via monitoring xenstore. xen_unified.c | 162 +++

Re: [libvirt] [PATCH] Xen events

2008-11-06 Thread Daniel Veillard
On Thu, Nov 06, 2008 at 09:09:20AM -0500, Ben Guthro wrote: The following patch implements a framework for emitting events from the Xen driver, via monitoring xenstore. Currently, this only emits the STARTED, and STOPPED events, as this is all that seems to be available via monitoring

Re: [libvirt] [PATCH] cleanup of loging definitions

2008-11-06 Thread Daniel Veillard
On Thu, Nov 06, 2008 at 02:17:49PM +, Daniel P. Berrange wrote: On Thu, Nov 06, 2008 at 02:16:52PM +0100, Daniel Veillard wrote: Currently the debugFlag switch, the VIR_DEBUG, DEBUG and DEBUG0 macros were scattered in various places, duplicated once (or twice) per generated binaries.

Re: [libvirt] [PATCH]: Implement Qemu/KVM live migration

2008-11-06 Thread Chris Lalancette
Chris Lalancette wrote: Note that there is a FIXME in the code. When testing this out with kvm-78, I found that if I let the source side kill the source VM immediately after the migrate monitor command completed, the migration to the destination would never complete. This seems to be

Re: [libvirt] [PATCH] cleanup of loging definitions

2008-11-06 Thread Daniel Veillard
On Thu, Nov 06, 2008 at 03:33:10PM +0100, Daniel Veillard wrote: On Thu, Nov 06, 2008 at 02:17:49PM +, Daniel P. Berrange wrote: On Thu, Nov 06, 2008 at 02:16:52PM +0100, Daniel Veillard wrote: Currently the debugFlag switch, the VIR_DEBUG, DEBUG and DEBUG0 macros were scattered in

Re: [libvirt] Problem with fullyvirtualized guest direct kernel boot

2008-11-06 Thread Max Martynov
Kernel, initrd and root file system are extracted from working Fedora 9 disk image without any additional tinkering. Guest Fedora is clean and was installed from scratch. When I use this whole disk image with fullyvirtualized guest BIOS boot with, everything works fine. I also tried

Re: [libvirt] [PATCH] Xen events

2008-11-06 Thread Ben Guthro
New patch attached with changes recommended in prior email from Daniel V. Ben diff --git a/src/xen_unified.c b/src/xen_unified.c index 1ab204d..c5f84c8 100644 --- a/src/xen_unified.c +++ b/src/xen_unified.c @@ -222,6 +222,7 @@ xenUnifiedOpen (virConnectPtr conn, xmlURIPtr uri, virConnectAuthPtr