Re: [Libvir] Proposed XML format for capabilities, with examples [long]

2007-03-14 Thread Richard W.M. Jones
Daniel P. Berrange wrote: (4) is_kvm_capable: [Linux] kernel supports kvm? Uses Linux-specific /dev/kvm This is really equivalent to the 'is_hvm_capable' check but for KVM. Just an update on this one for all on the list: We went round several loops with this, but think we've got a way where

Re: [Libvir] [PATCH] Enable USB device setting information handling on virsh.

2007-03-14 Thread Daniel Veillard
On Wed, Mar 14, 2007 at 03:38:02AM +, Daniel P. Berrange wrote: > I'm not so sure about this to be honest. This is very verbose syntax and > having > the empty wrapper around every element isn't adding all that much useful > info in relation to its verbosity. I based my review on the struc

Re: [Libvir] [PATCH] modular compilation of xen/qemu/test

2007-03-14 Thread Richard W.M. Jones
Daniel Veillard wrote: The following patch adds 3 configure options to turn on or off the support for Xen, QEMU/KVM and the test driver, as the output of configure --help shows: ... --with-xen add XEN support (on) --with-qemu add QEMU/KVM support (on) --with-test

[Libvir] [PATCH] modular compilation of xen/qemu/test

2007-03-14 Thread Daniel Veillard
The following patch adds 3 configure options to turn on or off the support for Xen, QEMU/KVM and the test driver, as the output of configure --help shows: ... --with-xen add XEN support (on) --with-qemu add QEMU/KVM support (on) --with-test add test driv

[Libvir] Reliably detecting if Intel VT is disabled in the BIOS

2007-03-14 Thread Richard W.M. Jones
VMXON is the instruction which turns on Intel VT extensions[1]. This instruction can be enabled and disabled by setting a bit in a CPU register. Moreover, this CPU register itself can be locked so that no changes can be made until the CPU is power-cycled. In detail, the register is the IA32_

Re: [Libvir] [PATCH]fix the judgment of the domain state between hypervisor and xend

2007-03-14 Thread Daniel Veillard
On Wed, Mar 14, 2007 at 08:13:10PM +0900, Kazuki Mizushima wrote: > Hi, > > According to the xm & virsh man page, I make a patch which fixes > the judgment of the domain state between xenHypervisorDriver and > xenDaemonDriver. > > Signed-off-by: Kazuki Mizushima <[EMAIL PROTECTED]> Okay, it l

Re: [Libvir] Proposed XML format for capabilities, with examples [long]

2007-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2007 at 11:59:57AM +, Richard W.M. Jones wrote: > (1) is_pae_capable: host supports PAE? Uses Linux-specific /proc/cpuinfo This is also arch specific - only relevant for i386/x86_64. > (2) is_hvm_capable: host supports HVM & enabled in Xen? Uses > Xen-specific /sys/hypervisor

[Libvir] Proposed XML format for capabilities, with examples [long]

2007-03-14 Thread Richard W.M. Jones
Lots of people had various things to say about the first capabilities patches (see thread starting here: https://www.redhat.com/archives/libvir-list/2007-March/msg00153.html). So I thought I'd try to pull together ideas into a single thread, and post some information about what this is trying t

Re: [Libvir] [RFC]OpenVZ XML def

2007-03-14 Thread Shuveb Hussain
Hi Rich, I think again we're entering into territory where virt-manager and other clients need to "just know" about the XML format and other quirks of the particular libvirt driver. That's not a high-level virtualisation API. I have been thinking about that. OpenVZ is definitely very differen

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: > Jim Meyering wrote: > >How important do you guys think having LVM support will be to ET projects? > >And when will you need it? > > For my point of view, as former sysadmin, virtualisation and LVM are > such a natural fit for

[Libvir] [PATCH]fix the judgment of the domain state between hypervisor and xend

2007-03-14 Thread Kazuki Mizushima
Hi, According to the xm & virsh man page, I make a patch which fixes the judgment of the domain state between xenHypervisorDriver and xenDaemonDriver. Signed-off-by: Kazuki Mizushima <[EMAIL PROTECTED]> Thanks, Kazuki Mizushima Index: xend_internal.c ==

Re: [Libvir] [RFC]OpenVZ XML def

2007-03-14 Thread Daniel Veillard
On Wed, Mar 14, 2007 at 08:38:51AM +0530, Shuveb Hussain wrote: > Hi, > > >> >- os: that's probably one place where OpenVZ may be quite different > >> >from > >> > Xen and QEmu, still what does the string > >> > 'slackware-10.2-i386-minimal' > >> > mean ? Is that a pointer t

Re: [Libvir] [RFC]OpenVZ XML def

2007-03-14 Thread Richard W.M. Jones
I think again we're entering into territory where virt-manager and other clients need to "just know" about the XML format and other quirks of the particular libvirt driver. That's not a high-level virtualisation API. Long email in preparation on this subject ... I won't spoil your anticipati

Re: [Libvir] RPM upgrades interaction with default networking

2007-03-14 Thread Richard W.M. Jones
Daniel P. Berrange wrote: On Tue, Mar 13, 2007 at 07:48:11PM -0700, David Lutterkort wrote: On Tue, 2007-03-13 at 23:22 +, Daniel P. Berrange wrote: When we build an RPM we also include the default.xml file in the /etc/libvirt/qemu/networks directory, as well as the autostart symlink. So a

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-14 Thread Richard W.M. Jones
Jim Meyering wrote: How important do you guys think having LVM support will be to ET projects? And when will you need it? For my point of view, as former sysadmin, virtualisation and LVM are such a natural fit for each other that I can hardly imagine _not_ provisioning new virtual servers fr