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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> ---
>  src/conf/domain_conf.c                             |  6 +++++
>  .../qemuxml2argv-tpm-no-backend-invalid.xml        | 27 ++++++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |  2 ++
>  3 files changed, 35 insertions(+)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-tpm-no-backend-invalid.xml

ACK


Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]