# Change default USB controller type

**URL:** <https://forum.opennebula.io/t/change-default-usb-controller-type/7533>\
**Category:** Product Support\
**Created:** [August 7, 2019, 11:48am UTC](https://forum.opennebula.io/t/change-default-usb-controller-type/7533 "2019-08-07T11:48:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![samoz83](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@samoz83](https://forum.opennebula.io/u/samoz83)\
**Post date:** [August 7, 2019, 11:48am UTC](https://forum.opennebula.io/t/change-default-usb-controller-type/7533/1 "2019-08-07T11:48:01Z")

</div>

Hi

We are running our VM’s using the KVM driver, just wondering what the easiest way is to set the default usb controller from model piix3-uhci to controller type=‘usb’ index=‘0’ model=‘nec-xhci’ ? So each VM is brought up with a USB 3 controller?

Edit: Think I’ve solved it, needed to add

```auto
 <controller type='usb' index='0' model='nec-xhci'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
</devices>

```

to the RAW section in templates
