[libvirt] [PATCH v3 3/7] lib: introduce virDomainGetStateParams function

Bjoern Walk bwalk at linux.ibm.com
Thu Apr 4 11:06:30 UTC 2019


Daniel P. Berrangé <berrange at redhat.com> [2019-04-04, 11:41AM +0100]:
> On Thu, Apr 04, 2019 at 10:01:30AM +0200, Bjoern Walk wrote:
> > +    virCheckDomainReturn(domain, -1);
> > +    if (params)
> > +        virCheckNonNullArgGoto(nparams, error);
> 
> While I remember, we must forbid this for "read only" connections, as
> some of the parameters are CPU registers which may hold sensitive data.

Sure, done.

-- 
IBM Systems
Linux on Z & Virtualization Development
--------------------------------------------------
IBM Deutschland Research & Development GmbH
Schönaicher Str. 220, 71032 Böblingen
Phone: +49 7031 16 1819
--------------------------------------------------
Vorsitzende des Aufsichtsrats: Matthias Hartmann
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190404/7c99c293/attachment-0001.sig>


More information about the libvir-list mailing list