Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities

Jamie Lokier
2009-06-10T19:27:05Z

Michael S. Tsirkin wrote:
> > I think the right long term answer to all this is a way to get QEMU to
> > dump it's current machine configuration in glorious detail as a file
> > which can be reloaded as a machine configuration.
>
> And then we'll have the same set of problems there.

We will, and the solution will be the same: options to create devices
as they were in older versions of QEMU. It only needs to cover device
features which matter to guests, not every bug fix.

However with a machine configuration which is generated by QEMU,
there's less worry about proliferation of obscure options, compared
with the command line. You don't necessarily have to document every
backward-compatibility option in any detail, you just have to make
sure it's written and read properly, which is much the same thing as
the snapshot code does.

-- Jamie