On 2014/6/27 19:26, Paolo Bonzini wrote:
Il 27/06/2014 10:34, Chen, Tiejun ha scritto:


So how to separate this to specific to xen? Or you mean we need to
create an new machine to address this scenario? But actually this is
same as xenfv_machine except for these little codes.

Yes, please create a new machine so that "-M pc" doesn't have any of
these hacks.

But regardless of the machine is 'xenfv' or 'pc', we always call pc_init_pci(), then inside, i440fx_init() is always performed. So I think even we create a new machine, shouldn't we still call pc_init_pci()?


Note that "-M xenfv" is obsolete, Xen can now use "-M pc" (i.e. the
default).


Yes, Xen can use 'pc'.

Thanks
Tiejun


Reply via email to