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

Re: [libvirt] [PATCH v4 01/11] Add QMP probing for TPM



On Mon, Apr 15, 2013 at 01:32:53PM -0400, Stefan Berger wrote:
> On 04/15/2013 12:56 PM, Daniel P. Berrange wrote:
> 
> 
> >Guess you never tested this on a QEMU which lacked those commands.
> >Probing capabilities now fails for any QEMU using QMP which lacks
> >these commands
> 
> Indeed, all the executables it checks have TPM enabled by now.
> What's the best way of suppressing this? Only probe starting with
> QEMU version 1.5 ? Or suppress the error somehow ?

See how qemuMonitorJSONGetEvents checks "CommandNotFound" and returns
a zero length list.


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 :|


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