Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities]

Avi Kivity
2009-06-16T12:53:02Z

On 06/16/2009 03:39 PM, Mark McLoughlin wrote:

>> Worst case we hardcode those numbers (gasp, faint).
>>
>
> Maybe we can just add the open slots to the -help output. That'd be nice
> and clean.
>

Yeah, there's precedent too.

> Or:
>
> $ readlink /usr/share/qemu/machine-types/pc.dt
>
>

That works if you have exactly one qemu installed. It's best if qemu
itself is the entry point (qemu -print-device-tree).

Though I wouldn't want to inflict it upon the management application
writers.

--
error compiling committee.c: too many arguments to function