Re: [libvirt] [RFC] Memory controller exploitation in libvirt

2010-08-30 Thread Nikunj A. Dadhania
On Tue, 24 Aug 2010 11:07:29 +0100, Daniel P. Berrange berra...@redhat.com wrote: On Tue, Aug 24, 2010 at 03:17:44PM +0530, Nikunj A. Dadhania wrote: On Tue, 24 Aug 2010 11:02:49 +0200, Matthias Bolte matthias.bo...@googlemail.com wrote: snip Yes the ESX driver allows to

Re: [libvirt] [RFC] Memory controller exploitation in libvirt

2010-08-30 Thread Justin Clift
On 08/24/2010 07:47 PM, Nikunj A. Dadhania wrote: On Tue, 24 Aug 2010 11:02:49 +0200, Matthias Boltematthias.bo...@googlemail.com wrote: snip Regarding future additions: IO_BW_Softlimit IO_BW_Hardlimit IO_BW_percentage IO would need API as well as XML config

[libvirt] Decent How-To now on the wiki for setting up Transport Layer Security

2010-08-30 Thread Justin Clift
Hi all, For anyone that's interested in setting up TLS with libvirt, but hasn't gotten around to it yet, there's a decent guide on the wiki now: http://wiki.libvirt.org/page/TLSSetup It's user focused (ie SysAdmin's), and has lots of pics explaining concepts, plus shows what needs to be

Re: [libvirt] Decent How-To now on the wiki for setting up Transport Layer Security

2010-08-30 Thread Jaromír Červenka
Hi Justin, it's very nice! Good work. I like those pictures :) Thank you, for this. Greetings, Jaromír Červenka Official openSUSE community member Web: http://www.cervajz.com/ Jabber: cerv...@cervajz.com MSN: jara.cerve...@seznam.cz Tel.: +420 607 592 687 Alt. e-mails:

Re: [libvirt] Decent How-To now on the wiki for setting up Transport Layer Security

2010-08-30 Thread Justin Clift
On 08/30/2010 08:58 PM, Jaromír Červenka wrote: Hi Justin, it's very nice! Good work. I like those pictures :) Thank you, for this. Hi Jaromír, You are completely welcome. :) If there are parts of it that need adjusting for openSUSE, please feel welcome to update it directly, or let me

Re: [libvirt] [RFC] Memory controller exploitation in libvirt

2010-08-30 Thread Balbir Singh
On Mon, Aug 30, 2010 at 11:56 AM, Nikunj A. Dadhania nik...@linux.vnet.ibm.com wrote: On Tue, 24 Aug 2010 11:07:29 +0100, Daniel P. Berrange berra...@redhat.com wrote: On Tue, Aug 24, 2010 at 03:17:44PM +0530, Nikunj A. Dadhania wrote: On Tue, 24 Aug 2010 11:02:49 +0200, Matthias Bolte

Re: [libvirt] [PATCH] esx: Map the .vmx annotation to the domain XML description

2010-08-30 Thread Eric Blake
On 08/27/2010 04:10 PM, Matthias Bolte wrote: In v2 (attached) I made this unescape all |XX and removed the memmoves. To convert XX to the actual char I moved hextobin (used internally by virUUIDParse) to util.c and used it here. The move is done in a separate patch (attached). ACK to both

Re: [libvirt] [PATCH] esx: Add .vmdk storage volume creation

2010-08-30 Thread Eric Blake
On 08/28/2010 01:53 PM, Matthias Bolte wrote: +/* Validate config */ +tmp1 = strchr(def-name, '/'); +tmp2 = strrchr(def-name, '/'); + +if (tmp1 == NULL || tmp1 == def-name || +tmp2 == NULL || tmp2[1] == '\0') { tmp2 cannot be NULL if tmp1 is not NULL, since if the

Re: [libvirt] [PATCH] esx: Use the VirtualDisk UUID as storage volume key

2010-08-30 Thread Eric Blake
On 08/29/2010 05:00 PM, Matthias Bolte wrote: VirtualDisks are .vmdk file based. Other files in a datastore like .iso or .flp files don't have a UUID attached, fall back to the path as key for them. --- src/esx/esx_storage_driver.c | 190

Re: [libvirt] [PATCH] esx: Fix generator for string return values

2010-08-30 Thread Eric Blake
On 08/29/2010 05:00 PM, Matthias Bolte wrote: Distinguish between strings as parameters (const char *) and strings as return values (char **). Here, you mention char**, if self.type == String and \ self.occurrence not in [OCCURRENCE__REQUIRED_LIST,

Re: [libvirt] [PATCH] esx: Map the .vmx annotation to the domain XML description

2010-08-30 Thread Matthias Bolte
2010/8/30 Eric Blake ebl...@redhat.com: On 08/27/2010 04:10 PM, Matthias Bolte wrote: In v2 (attached) I made this unescape all |XX and removed the memmoves. To convert XX to the actual char I moved hextobin (used internally by virUUIDParse) to util.c and used it here. The move is done in a

[libvirt] Best place to put links to the libvirt App Dev Guide?

2010-08-30 Thread Justin Clift
Hi guys, Where's the best place in the libvirt.org menu structure, to point people to the (developing) libvirt App Dev Guide? My initial thinking is: a) Have a link to the .pdf in the Downloads section + b) Maybe a new top title section like: Documentation - Dev Guide With