[libvirt] networking static ip address

2009-02-20 Thread Francisco José Martín
Hi, we are using the 0.6.0 version and an Ubuntu guest os under KVM virtualization. We have tried several ways to assign a static ip address to the guest os eth0 device on boot, but we didn't success. Is there any easy way to do it? We are trying to have a guest with the ip 192.168.0.1 in the

Re: [libvirt] Updated James Morris patch to apply to libvirt-0.6.0 version

2009-02-20 Thread Daniel P. Berrange
Just spotted one serious problem we need to address. The method 'qemudStartVMDaemon' quoted here is where we set the security label: On Tue, Feb 17, 2009 at 11:20:17AM -0500, Daniel J Walsh wrote: @@ -1178,6 +1237,16 @@ static int qemudStartVMDaemon(virConnect return -1; } +

Re: [libvirt] Updated James Morris patch to apply to libvirt-0.6.0 version

2009-02-20 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel P. Berrange wrote: Just spotted one serious problem we need to address. The method 'qemudStartVMDaemon' quoted here is where we set the security label: On Tue, Feb 17, 2009 at 11:20:17AM -0500, Daniel J Walsh wrote: @@ -1178,6 +1237,16

[libvirt] Patch to python-virtinst to allow it to choose svirt labels

2009-02-20 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Also found at least one big bug in python-virtinst, VirtualDisk.py was dropping the / between dirname and basename of installation object, when you told it to create the object. I think we want to have a big switch stored in libvirt somewhere saying

Re: [libvirt] networking static ip address

2009-02-20 Thread Ulrich Dangel
On Friday 20 February 2009 13:54:20 Francisco José Martín wrote: Hi, We have tried several ways to assign a static ip address to the guest os eth0 device on boot, but we didn't success. Is there any easy way to do it? Yes. Create a network definition, specify a host element to the dhcp

[libvirt] [PATCH 0/1] Merge DanPB's SCSI HBA pool code

2009-02-20 Thread David Allan
This patch contains the implementation Daniel Berrange did of storage pools using SCSI HBAs. I have updated it for the current tree in preparation for implementing NPIV support. Let me know what you think. I would also like feedback on the integration into the build system, particularly

[libvirt] [PATCH 1/1] Merge DanPB's SCSI HBA pool code

2009-02-20 Thread David Allan
Last March, DanPB posted code to create pools from SCSI HBAs. This patch is simply bringing that code into the current tree. * src/storage_backend_scsi.[ch] contain the pool implementataion * There are small changes to several other source files to integrate the new pool type. ---

Re: [libvirt] bridge-to-lan interfaces with network type

2009-02-20 Thread Kaitlin Rupert
Daniel P. Berrange wrote: On Tue, Feb 03, 2009 at 03:58:38PM +0800, Zhengang Li wrote: Hi All, The documentation on the libvirt website explains the way to define a bridge to LAN network interfaces with a 'bridge' type. E.g.: interface type='bridge' source bridge='br0'/ mac