Anthony Liguori wrote:
> I think this is pretty useful as-is. I think it also gives us a reasonable
> way to move forward that will keep everyone pretty happy.
>
> Here's a short example:
>
> qemu-system-x86_64 -hda ~/images/linux.img -snapshot -vnc :2
>
> Would become `foo.qemu':
>
> # Main disk image
> hda=/home/anthony/images/linux.img
>
> # Redirect disk writes to a temporary image
> snapshot
>
> # Make the graphical display available on port 5902
> vnc=:2
>
> With:
>
> qemu-system-x86_64 -config foo.qemu
One thought I had, is that it would be very nice to break up the -drive
file=foo.img,if=scsi syntax within the config file. In general, I'm
thinking something like:
[drive]
file=foo.img
if=scsi
or:
drive {
file=foo.img
if=scsi
}
or even:
drive:
file=foo.img
if=scsi
Basically, I'm looking for a syntax for sub-options. This would be
useful for -drive or -net but I also think would lay the foundations for
specifying a full machine config.
It would get very unwieldy on the command line to have a large number of
suboptions but it works reasonably well within a config.
Regards,
Anthony Liguori
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel