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

2007-03-15 Thread Masayuki Sunou
Hi Daniel I contribute some corrected patches. 1. strtok() -- strtok_r() -- Add tok_buf for strtok_r() 2. Correct the first argument of strtok_r() 3. Add a version of XML -- So that the format of XML may change in the future Signed-off-by: Masayuki Sunou [EMAIL PROTECTED] Thanks

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

2007-03-15 Thread Kazuki Mizushima
Hi Daniel, Okay, it looks like there was an inversion between 's' which should be shutoff and 'd' which should be shutoff, can you confirm this ? Yes, I can confirm. But I tested at xen older(3.03) version which doesn't have life-cycle . # xm list Name ID Mem(MiB) VCPUs State

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

2007-03-15 Thread Jim Meyering
Richard W.M. Jones [EMAIL PROTECTED] 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 each other that I can hardly

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

2007-03-15 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: ... I did look at the API for libparted a few months ago (actually from the rather ancient released version on gnu.org) and it didn't look to me like there was any way to express LVM

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

2007-03-15 Thread Richard W.M. Jones
Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: ... I did look at the API for libparted a few months ago (actually from the rather ancient released version on gnu.org) and it didn't look to me like there was

Re: [Libvir] [PATCH] Fix dom0 maxmem display for memmax not set case

2007-03-15 Thread Daniel Veillard
On Thu, Mar 15, 2007 at 09:36:12PM +0900, Atsushi SAKAI wrote: Hi, This patch intends to fix dom0 maxmem display. If we do NOT set maximum memory, max_pages (in Xen) are set maximum value(0x). This display confuses user. For x86 cases, following data are shown on virsh dominfo

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

2007-03-15 Thread Richard W.M. Jones
Richard W.M. Jones wrote: lvcreate -L 3G -n newroot raidvg lvcreate -L 1G -n newswap raidvg I should add, in a libvirt context it's probably going to be useful to also: * list available volume groups (vgscan) * list space available in each VG (vgdisplay name-of-vg) * show how VGs relate to

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

2007-03-15 Thread Daniel P. Berrange
On Thu, Mar 15, 2007 at 02:27:04PM +, Daniel P. Berrange wrote: guest os_typehvm/os_type arch name=sparc wordsize32/wordsize machine sun4m/machine emulator/usr/bin/qemu-system-sparc/emulator domain type=qemu/ /arch features pae/

Re: [Libvir] libvirt.py has the two functions that names are the same.

2007-03-15 Thread Daniel Veillard
On Tue, Mar 13, 2007 at 06:38:56PM +0900, Tatsuro Enokura wrote: Hi, When I used the lookupByName() function of libvirt.py, it failed with the following error messages. [...] The lookupByName() function is the same name for domain and for network in libvirt.py. The lookupByUUIDstring()

[Libvir] [PATCH] Make libvirt build when xen-devel is not installed

2007-03-15 Thread Hugh Brock
After the Capabilities patch went in, we discovered that although we could supposedly build libvirt without xen-devel installed, in fact we needed to be more aggressive with ifdefs (and conditionally turn off compilation of some tests that only test xen features). This patch makes it possible