[Top][All Lists]

[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

What problem is this actually trying to solve?


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]