DomainControllerUsb.from_xml


Description:

[ CCode ( has_construct_function = false ) ]
public DomainControllerUsb.from_xml (string xml) throws Error

Creates a new DomainControllerUsb with a reference count of 1.

The controller object will be created using the XML description stored in xml. This is a fragment of libvirt domain XML whose root node is <controller>.

Parameters:

xml

xml data to create the controller from

Returns:

a new DomainControllerUsb, or NULL if xml failed to be parsed.