(model)
return ET.tostring(m, encoding='unicode')
Returns a XML string defining USB controller. Example for model='nec-xhci':
    <controller type='usb' index='0' model='nec-xhci'>
        <address type='pci' domain='0x0000'
        bus='0x00' slot='0x0f' function='0x0'/>
    </controller>
Returns a XML string defining USB controller. Example for model='nec-xhci':
    <controller type='usb' index='0' model='nec-xhci'>
        <address type='pci' domain='0x0000'
        bus='0x00' slot='0x0f' function='0x0'/>
    </controller>
Returns a XML string defining USB controller . Example for model = nec - xhci : <controller type = usb index = 0 model = nec - xhci > <address type = pci domain = 0x0000 bus = 0x00 slot = 0x0f function = 0x0 / > < / controller >
def get_usb_controller_xml(model):
    """
    Returns a XML string defining USB controller. Example for model='nec-xhci':
    <controller type='usb' index='0' model='nec-xhci'>
        <address type='pci' domain='0x0000'
        bus='0x00' slot='0x0f' function='0x0'/>
    </controller>
    """
    m = E.controller(
        E.address(
            type='pci',
            domain='0x0000',
            bus='0x00',
            slot='0x0f',
            function='0x0'
        ),
        type='usb',
        index='0',
        model=model
    )

    return ET.tostring(m, encoding='unicode')
def get_usb_controller_xml ( model ) : m = E . controller ( E . address ( type = 'pci' , domain = '0x0000' , bus = '0x00' , slot = '0x0f' , function = '0x0' ) , type = 'usb' , index = '0' , model = model ) return ET . tostring ( m , encoding = 'unicode' )