Re: [libvirt] [PATCHv1.5 17/27] snapshot: conf: Fix NULL dereference when driver element is empty

2013-12-03 Thread Peter Krempa
On 12/02/13 23:59, Eric Blake wrote: On 11/27/2013 04:15 AM, Michal Privoznik wrote: On 26.11.2013 17:48, Peter Krempa wrote: Consider the following valid snapshot XML as the driver element is allowed to be empty in the domainsnapshot.rng schema: $ cat snap.xml domainsnapshot disks

Re: [libvirt] [PATCHv1.5 17/27] snapshot: conf: Fix NULL dereference when driver element is empty

2013-12-02 Thread Peter Krempa
On 11/27/13 12:15, Michal Privoznik wrote: On 26.11.2013 17:48, Peter Krempa wrote: Consider the following valid snapshot XML as the driver element is allowed to be empty in the domainsnapshot.rng schema: $ cat snap.xml domainsnapshot disks disk name='vda' snapshot='external'

Re: [libvirt] [PATCHv1.5 17/27] snapshot: conf: Fix NULL dereference when driver element is empty

2013-12-02 Thread Eric Blake
On 11/27/2013 04:15 AM, Michal Privoznik wrote: On 26.11.2013 17:48, Peter Krempa wrote: Consider the following valid snapshot XML as the driver element is allowed to be empty in the domainsnapshot.rng schema: $ cat snap.xml domainsnapshot disks disk name='vda' snapshot='external'

Re: [libvirt] [PATCHv1.5 17/27] snapshot: conf: Fix NULL dereference when driver element is empty

2013-11-27 Thread Michal Privoznik
On 26.11.2013 17:48, Peter Krempa wrote: Consider the following valid snapshot XML as the driver element is allowed to be empty in the domainsnapshot.rng schema: $ cat snap.xml domainsnapshot disks disk name='vda' snapshot='external' source file='/tmp/foo'/ driver/

[libvirt] [PATCHv1.5 17/27] snapshot: conf: Fix NULL dereference when driver element is empty

2013-11-26 Thread Peter Krempa
Consider the following valid snapshot XML as the driver element is allowed to be empty in the domainsnapshot.rng schema: $ cat snap.xml domainsnapshot disks disk name='vda' snapshot='external' source file='/tmp/foo'/ driver/ /disk /disks /domainsnapshot produces the