qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/4][RFC] Add logic to QEMU to read command line


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 4/4][RFC] Add logic to QEMU to read command line options from qcow2 images
Date: Thu, 09 Aug 2007 23:30:30 +0300
User-agent: Thunderbird 2.0.0.5 (X11/20070719)

Anthony Liguori wrote:

If you're looking for a low-end solution, another possibility would be having a "new" file format which consisted of:

#!/path/to/qemu [<args> ...] <nl>
<standard disk image>

And then make the appropriate changes to QEMU such that it can skip the first line in a disk image file. This has a few nice side effects. The disk image is directly executable and it makes it very clear to the user that they have to trust the disk image. The other nice thing is that it would work with file formats other than qcow2.

Well, it would be nice to align the disk image to a sector boundary (or, better, a page boundary). But yes, a very good idea.






reply via email to

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