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

[Xen-devel] Re: xenstore pci global parameters



On Wed, 2009-12-02 at 19:30 +0800, Stefano Stabellini wrote:
> If I am not mistaken xend keeps an internal record of those flags so it
> could use that info to set per device default flags:
> 
> xenstore-write opts-$DEVNUM msitranslate=$MSITRANS,power_mgmt=$POWERMGM

That looks good, just one question, if pci devclass is not created,
can these global parameters be persistent across save/restore and live
migration?

> The problem was introduced by 19679, "xend: hot-plug PCI devices at
> boot-time": 
> 
> - xend is creating the guest domain
> - as part of this process xend forks and execs stubdom-dm
> - afterward xend hotplugs a pci device into the guest
> - then waits for the device model to say it is done (signalDeviceModel)
>   but this never happens because stubdom-dm is trying to create the
>   stubdom but xend hasn't replied yet because is busy with the guest
>   domain.
> 
> This problem doesn't exist anymore.

If it doesn't exist anymore, do you think it's easier to revert to old
scheme? (Always creating pci devclass).

Thanks,
Qing

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.