Re: [Libvir] Proposal for the storage API (for discussion only)

2007-10-22 Thread Richard W.M. Jones
Daniel P. Berrange wrote: On Fri, Oct 19, 2007 at 01:35:25PM +0100, Richard W.M. Jones wrote: I think this is fair enough. The important part is to make sure that the sysadmin can configure it, and it doesn't make much difference whether we use scriptlets or just have configuration options.

Re: Patch Re: [Libvir] save and restore guest

2007-10-22 Thread Richard W.M. Jones
Farkas Levente wrote: Daniel P. Berrange wrote: On Fri, Oct 19, 2007 at 01:56:10PM +0200, Farkas Levente wrote: Farkas Levente wrote: Daniel P. Berrange wrote: The save/restore capability is currently only available in the KVM-ified version of QEMU. We could make it try to save, and failing

Re: Patch Re: [Libvir] save and restore guest

2007-10-22 Thread Farkas Levente
Richard W.M. Jones wrote: Farkas Levente wrote: Daniel P. Berrange wrote: On Fri, Oct 19, 2007 at 01:56:10PM +0200, Farkas Levente wrote: Farkas Levente wrote: Daniel P. Berrange wrote: The save/restore capability is currently only available in the KVM-ified version of QEMU. We could make

Re: Patch Re: [Libvir] save and restore guest

2007-10-22 Thread Daniel P. Berrange
On Mon, Oct 22, 2007 at 12:53:48PM +0200, Farkas Levente wrote: Richard W.M. Jones wrote: Farkas Levente wrote: Daniel P. Berrange wrote: As I mentioned above, doing this in the init script is a bad idea because it does not interact well with domain autostart. The libvirt dameon

[Libvir] Re: Should we settle on one SSL implementation?

2007-10-22 Thread Richard W.M. Jones
Bernardo Innocenti wrote: I remember this topic being discussed some time ago, but software is fluid and maybe it's time to respin the topic. It would seem a worthwhile goal to unify SSL/TLS implementations like we did for spell checkers. Or, if it turns out to be too hard, at least it would be

Re: [Libvir] PATCH: 0/4 Implement CDROM media change for QEMU/KVM driver

2007-10-22 Thread Daniel Veillard
On Tue, Oct 16, 2007 at 09:46:10PM +0100, Daniel P. Berrange wrote: This series of patches provides CDROM media change for QEMU/KVM driver. It builds on the previous patch, incorporating the feedback everyone gave. I split the refactoring out from the main new feature patch hence the series

[Libvir] Small cleanup patch for Xen NUMA

2007-10-22 Thread Daniel Veillard
xenHypervisorNodeGetCellsFreeMemory was calling xend to find the number of cells on a node and keeping the information thereafter in a static variable. This patch just move the lookup code in the xen_unified driver, using the unified call (and hence the hypervisor instead of xend rpc). Provides

[Libvir] Re: Should we settle on one SSL implementation?

2007-10-22 Thread Steve Grubb
On Monday 22 October 2007 09:47:12 Richard W.M. Jones wrote: Nevertheless, I don't think you're going to get rid of the competing SSL libraries.  Rewriting code to use a different API is a lot of make-work that no one wants to do, and doesn't contribute much benefit to anyone. This is true and

[Libvir] [PATCH] finish NUMA code reorg, plug cpuset at creat time support

2007-10-22 Thread Daniel Veillard
The following patch finishes the cleanup for NUMA parsing code: - the cpuset parsing is moved to xml.c - some comments and cleanups of the include then add the output of a (cpus '...') line based on the /domain/vcpu/@cpuset attributes, this is parsed and reserialized as ranges to avoid

[Libvir] [PATCH 4/5] docs: Remove duplicated qemu bridge example

2007-10-22 Thread Jim Paris
Signed-off-by: Jim Paris [EMAIL PROTECTED] --- docs/format.html |6 +- docs/libvir.html |6 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/format.html b/docs/format.html index 8a519af..5553d10 100644 --- a/docs/format.html +++ b/docs/format.html @@

[Libvir] PATCH: Support NIC model selection for QEMU/KVM

2007-10-22 Thread Jim Paris
Hi, Sometime between kvm-36 and kvm-46 I ran into problems with the default QEMU network card (ne2k-pci). Switching it fixed the problems, but libvirt doesn't support changing the NIC model. These patches add support for: interface nic model=rtl8139/ /interface which becomes qemu

[Libvir] [PATCH 5/5] docs: Document nic model options for qemu

2007-10-22 Thread Jim Paris
Signed-off-by: Jim Paris [EMAIL PROTECTED] --- docs/format.html |9 +++-- docs/libvir.html | 13 +++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/format.html b/docs/format.html index 5553d10..d73adb1 100644 --- a/docs/format.html +++ b/docs/format.html

[Libvir] [PATCH 3/5] docs: Fix typo in QEMU network examples

2007-10-22 Thread Jim Paris
Signed-off-by: Jim Paris [EMAIL PROTECTED] --- docs/format.html |8 docs/libvir.html |8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/format.html b/docs/format.html index efdbcde..8a519af 100644 --- a/docs/format.html +++ b/docs/format.html @@

[Libvir] [PATCH 2/5] qemu: specify nic model when invoking qemu

2007-10-22 Thread Jim Paris
Signed-off-by: Jim Paris [EMAIL PROTECTED] --- src/qemu_conf.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/qemu_conf.c b/src/qemu_conf.c index c463ffb..c1260ed 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -1738,7 +1738,8 @@ int

[Libvir] [PATCH 1/5] qemu: Add nic model to XML format.

2007-10-22 Thread Jim Paris
Signed-off-by: Jim Paris [EMAIL PROTECTED] --- src/qemu_conf.c | 21 + src/qemu_conf.h |2 ++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/qemu_conf.c b/src/qemu_conf.c index f3b8f4e..c463ffb 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@

Re: [Libvir] PATCH: Support NIC model selection for QEMU/KVM

2007-10-22 Thread Daniel P. Berrange
On Mon, Oct 22, 2007 at 04:33:40PM -0400, Daniel Veillard wrote: On Mon, Oct 22, 2007 at 03:44:38PM -0400, Jim Paris wrote: Hi, Sometime between kvm-36 and kvm-46 I ran into problems with the default QEMU network card (ne2k-pci). Switching it fixed the problems, but libvirt doesn't

Re: [Libvir] PATCH: Support NIC model selection for QEMU/KVM

2007-10-22 Thread Jim Paris
Daniel P. Berrange wrote: On Mon, Oct 22, 2007 at 04:33:40PM -0400, Daniel Veillard wrote: On Mon, Oct 22, 2007 at 03:44:38PM -0400, Jim Paris wrote: Hi, Sometime between kvm-36 and kvm-46 I ran into problems with the default QEMU network card (ne2k-pci). Switching it fixed the

[Libvir] [PATCH] Fix failure of HVM domain definition on Xen 3.0.3 or earlier(BZ328841)

2007-10-22 Thread Masayuki Sunou
Hi VirDomainDefineXML() fails, when HVM domain using CD-ROM is created on Xen 3.0.3 or earlier. --BZ328841(https://bugzilla.redhat.com/show_bug.cgi?id=328841) One of attached patches (define.patch) fixes it. But, when domain is started by virsh start using the configuration file created by