Re: [libvirt] [PATCH v2 3/3] Cache result of QEMU capabilities extraction

2014-03-11 Thread Daniel P. Berrange
On Mon, Mar 10, 2014 at 12:50:20PM -0600, Eric Blake wrote: > On 03/10/2014 10:54 AM, Daniel P. Berrange wrote: > > Extracting capabilities from QEMU takes a notable amount of time > > when all QEMU binaries are installed. Each system emulator > > needs about 200-300ms multiplied by 26 binaries ==

Re: [libvirt] [PATCH v2 3/3] Cache result of QEMU capabilities extraction

2014-03-10 Thread Eric Blake
On 03/10/2014 10:54 AM, Daniel P. Berrange wrote: > Extracting capabilities from QEMU takes a notable amount of time > when all QEMU binaries are installed. Each system emulator > needs about 200-300ms multiplied by 26 binaries == ~5-8 seconds. > > This change causes the QEMU driver to save an XML

[libvirt] [PATCH v2 3/3] Cache result of QEMU capabilities extraction

2014-03-10 Thread Daniel P. Berrange
Extracting capabilities from QEMU takes a notable amount of time when all QEMU binaries are installed. Each system emulator needs about 200-300ms multiplied by 26 binaries == ~5-8 seconds. This change causes the QEMU driver to save an XML file containing the content of the virQEMUCaps object insta