[libvirt] [PATCH v2] add network disk support

2010-12-05 Thread MORITA Kazutaka
This patch adds network disk support to libvirt/QEMU. The currently supported protocols are nbd, rbd, and sheepdog. The XML syntax is like this: Signed-off-by: MORITA Kazutaka --- Hi, Thanks for your comments, Daniel. Here is

Re: [libvirt] [PATCH 1/2] virCommand: document behavior on no output

2010-12-05 Thread Daniel Veillard
On Sun, Dec 05, 2010 at 12:55:51AM +0100, Matthias Bolte wrote: > 2010/12/4 Justin Clift : > > On 04/12/2010, at 8:28 AM, Eric Blake wrote: > >> Option 1: This patch (all callers have to worry about NULL buffers, > >> but checking for output is a simple pointer check). > >> > >> Option 2: Guarantee

Re: [libvirt] [Patch v2] Add VMware Workstation and Player driver

2010-12-05 Thread Matthias Bolte
2010/12/2 Jean-Baptiste Rouault : > --- >  configure.ac                |    7 + >  include/libvirt/virterror.h |    1 + >  po/POTFILES.in              |    2 + >  src/Makefile.am             |   24 +- >  src/driver.h                |    3 +- >  src/libvirt.c               |   15 + >  src/util/virte

Re: [libvirt] [PATCH] threads: add virThreadID for debugging use

2010-12-05 Thread Matthias Bolte
2010/12/4 Eric Blake : > * src/util/threads.h (virThreadID): New prototype. > * src/util/threads-pthread.c (virThreadID): New function. > * src/util/threads-win32.c (virThreadID): Likewise. > * src/libvirt_private.syms (threads.h): Export it. > * daemon/event.c (virEventInterruptLocked): Use it to

Re: [libvirt] [PATCH] threads: add virThreadID for debugging use

2010-12-05 Thread Justin Clift
On 05/12/2010, at 8:33 AM, Eric Blake wrote: > * src/util/threads.h (virThreadID): New prototype. > * src/util/threads-pthread.c (virThreadID): New function. > * src/util/threads-win32.c (virThreadID): Likewise. > * src/libvirt_private.syms (threads.h): Export it. > * daemon/event.c (virEventInterr

Re: [libvirt] Valid characters in domain names?

2010-12-05 Thread Marcin Szewczyk
I would like to associate this discussion with a bug I've submitted to Ubuntu's Launchpad... https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/672948 Inconsistent XML config checks for domains with space in the name 1) http://libvirt.org/formatdomain.html#elementsMetadata states: "This name

[libvirt] changing disk/usb stick content

2010-12-05 Thread Roberto Attias (rattias)
Hello, This is a request to extend libvirt documentation, explaining how is it possible to change a floppy/CDROM/usb-stick content for a running VM from host. The VirDomainUpdateDeviceFlags function documentation states: virDomainUpdateDeviceFlags int virDomainUpdateDeviceFlags (virDo

[libvirt] New features : cloning

2010-12-05 Thread Clément Valentin
Hi everyone ! I'm currently developing a big project using libvirt to manage ESXi and Xen hypervisor. I was wondering to know if someday libvirt will propose a "cloning" function ? Thanks for taking time to consider my request. Valentin -- libvir-list mailing list libvir-list@redhat.com ht

Re: [libvirt] make syntax-check -> make: *** [sc_check_author_list] Error 1 on libvirt-0.8.5

2010-12-05 Thread Kenneth Nagin
>Eric Blake wrote on 03/12/2010 01:33:06: > From: Eric Blake > To: Kenneth Nagin/Haifa/i...@ibmil > Cc: Justin Clift , list libvirt l...@redhat.com>, bug-gnulib > Date: 03/12/2010 01:33 > Subject: Re: [libvirt] make syntax-check -> make: *** > [sc_check_author_list] Error 1 on libvirt-0.8.5 >

Re: [libvirt] [PATCH] qemu: Don't try to set input FD to -1

2010-12-05 Thread Matthias Bolte
2010/12/5 Eric Blake : > On 12/04/2010 04:47 PM, Matthias Bolte wrote: >> --- >>  src/qemu/qemu_driver.c |    5 - >>  1 files changed, 4 insertions(+), 1 deletions(-) >> >> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c >> index 54e9dcb..1b86b5e 100644 >> --- a/src/qemu/qemu_drive

Re: [libvirt] [PATCHv2 4/5] uuid: require smbios uuid and domain uuid to match

2010-12-05 Thread Daniel Veillard
On Fri, Dec 03, 2010 at 02:56:17PM -0700, Eric Blake wrote: > * src/conf/domain_conf.c (virDomainDefParseXML): Prefer sysinfo > uuid over generating one, and if both uuids are present, require > them to be identical. > * src/qemu/qemu_conf.c (qemuBuildSmbiosSystemStr): Allow skipping > the uuid. >

Re: [libvirt] [PATCHv2 5/5] sysinfo: convert to virCommand

2010-12-05 Thread Daniel Veillard
On Fri, Dec 03, 2010 at 02:56:18PM -0700, Eric Blake wrote: > * src/util/sysinfo.c (virSysinfoRead): Use virCommand instead of > virExec. > --- > > This patch assumes option 2 of my patch to virCommand guarantees on > outbuf when the child process had no output (it needs a slight tweak > to avoid

Re: [libvirt] [PATCHv2 3/5] smbios: allow () in smbios strings

2010-12-05 Thread Daniel Veillard
On Fri, Dec 03, 2010 at 02:56:16PM -0700, Eric Blake wrote: > * docs/schemas/domain.rng (sysinf-value): Expand pattern. > * tests/qemuxml2argvdata/qemuxml2argv-smbios.xml: Prefer '' over > "" for attribute values. Copy real hardware values. > * tests/qemuxml2argvdata/qemuxml2argv-smbios.args: Like

Re: [libvirt] [PATCHv2 2/5] smbios: support system family

2010-12-05 Thread Daniel Veillard
On Fri, Dec 03, 2010 at 02:56:15PM -0700, Eric Blake wrote: > * docs/schemas/domain.rng (sysinfo-system-name): Also allow > family. > * src/util/sysinfo.h (struct _virSysinfoDef): Add system_family. > * src/conf/domain_conf.c (virSysinfoParseXML) > (virDomainSysinfoDefFormat): Support it. > * src/u

Re: [libvirt] [PATCHv2 1/5] qemu: avoid adding "" in smbios arguments

2010-12-05 Thread Daniel Veillard
On Fri, Dec 03, 2010 at 02:56:14PM -0700, Eric Blake wrote: > The log lists things like -smbios type=1,vendor="Red Hat", which > is great for shell parsing, but not so great when you realize that > execve() then passes those literal "" on as part of the command > line argument, such that qemu sets