Re: [libvirt] [PATCH v2 2/2] conf: don't crash on a tpm device with no backends

2013-05-10 Thread Ján Tomko
On 05/09/2013 07:22 PM, Eric Blake wrote: > On 05/09/2013 06:18 AM, Ján Tomko wrote: >> Print an error instead of crashing when a TPM device without >> a backend is specified. >> >> Add a test for tpm device with no backend, which should fail >> with a parse error. >> >> https://bugzilla.redhat.com

Re: [libvirt] [PATCH v2 2/2] conf: don't crash on a tpm device with no backends

2013-05-09 Thread Eric Blake
On 05/09/2013 06:18 AM, Ján Tomko wrote: > Print an error instead of crashing when a TPM device without > a backend is specified. > > Add a test for tpm device with no backend, which should fail > with a parse error. > > https://bugzilla.redhat.com/show_bug.cgi?id=961252 > --- > src/conf/domain_

Re: [libvirt] [PATCH v2 2/2] conf: don't crash on a tpm device with no backends

2013-05-09 Thread Ján Tomko
On 05/09/2013 02:20 PM, Daniel P. Berrange wrote: > On Thu, May 09, 2013 at 02:18:13PM +0200, Ján Tomko wrote: >> Print an error instead of crashing when a TPM device without >> a backend is specified. >> >> Add a test for tpm device with no backend, which should fail >> with a parse error. >> >> h

Re: [libvirt] [PATCH v2 2/2] conf: don't crash on a tpm device with no backends

2013-05-09 Thread Daniel P. Berrange
On Thu, May 09, 2013 at 02:18:13PM +0200, Ján Tomko wrote: > Print an error instead of crashing when a TPM device without > a backend is specified. > > Add a test for tpm device with no backend, which should fail > with a parse error. > > https://bugzilla.redhat.com/show_bug.cgi?id=961252 > --- >

[libvirt] [PATCH v2 2/2] conf: don't crash on a tpm device with no backends

2013-05-09 Thread Ján Tomko
Print an error instead of crashing when a TPM device without a backend is specified. Add a test for tpm device with no backend, which should fail with a parse error. https://bugzilla.redhat.com/show_bug.cgi?id=961252 --- src/conf/domain_conf.c | 6 + .../qemuxml2