On 2012年11月20日 18:08, Daniel P. Berrange wrote:
On Mon, Nov 19, 2012 at 06:42:42PM +0800, Osier Yang wrote:
>
> One API missed is:
>
> int
> virNodeDeviceCreate(virNodeDevicePtr dev,
> unsigned int flags);
>
> To create the vHBA.
That API + functionality already exists
The existed API virNodeDeviceCreateXML is to create
the vHBA from provided XML. The proposed one is to
start it with the node device object.
Regards,
Osier