# Attach Devices

# Attach USB Device

## Once
```
qvm-device usb attach vmname sys-usb:X-x
```

## Persistent
```
qvm-device usb attach --persistent vmname sys-usb:X-x
```

# Attach Blockdevices

## Once
```
qvm-block attach vmname dom0:diskname
```

## persistent
```
qvm-block attach --persistent vmname dom0:diskname
```