qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] guest agent vs. host->guest "environment variables"
@ 2015-01-28 15:07 Gabriel L. Somlo
  2015-01-28 15:25 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel L. Somlo @ 2015-01-28 15:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth

Hi,

I'm looking for an equivalent to VMWare "guestinfo" variables
(the stuff one may set on a VM via e.g. the vSphere client, under
Summary->Annotations->Notes, and looks like a bunch of "name = value"
environment variable definitions. These can then be retrieved from
the guest via 'vmtoolsd --cmd "info-get guestinfo.name"', which would
print the string "value" to stdout.

After some initial digging, it appears that the QEMU guest agent is
the closest thing to "vmtoolsd" right now, but it doesn't look like
it supports the functionality I'm interested in.

My question is, am I missing anything obvious? Is there anything in
the kvm/qemu/libvirt universe that currently offers this type of
functionality? If not, would it be of any interest? I'm willing (and
hopefully able) to send patches, if it comes to that :)

Also, while extracting this type of "environment variable" on the
guest seems perfectly suited to something like qga, it also appears
that injecting them on the host side might involve cooperation from
a higher layer, such as libvirt.

Any pointers, ideas and tips much appreciated (even just "directions"
to a more appropriate mailing list)...

Thanks much,
--Gabriel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-29 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28 15:07 [Qemu-devel] guest agent vs. host->guest "environment variables" Gabriel L. Somlo
2015-01-28 15:25 ` Eric Blake
2015-01-29 14:23   ` Gabriel L. Somlo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).