[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables"
From: |
Richard W.M. Jones |
Subject: |
Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables" |
Date: |
Wed, 4 Feb 2015 16:00:05 +0000 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Tue, Feb 03, 2015 at 02:09:22PM -0500, Gabriel L. Somlo wrote:
> qemu-system-x86_64 -guest-env="VAR1=value1;VAR2=value 2" -hda image.qcow2
libguestfs does this already by passing a few environment variables on
the kernel command line. This requires a Linux guest kernel and that
you're using the -kernel and -append options.
For a more general purpose approach, I'd suggest something with
virtio-serial.
What problem is this actually trying to solve?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", (continued)
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Michael Roth, 2015/02/03
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Gabriel L. Somlo, 2015/02/04
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Gabriel L. Somlo, 2015/02/04
- Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Daniel P. Berrange, 2015/02/04
Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Daniel P. Berrange, 2015/02/04
Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables", Christopher Covington, 2015/02/04
Re: [Qemu-devel] RFC: Proposal to add QEMU "Guest Environment Variables",
Richard W.M. Jones <=