Raw block device passthrough support
This commit is contained in:
parent
0870f8113a
commit
003b562e48
7 changed files with 133 additions and 26 deletions
15
vm/passthrough.go
Normal file
15
vm/passthrough.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package vm
|
||||
|
||||
type USBDevicePassthroughConfig struct {
|
||||
VendorID uint16
|
||||
ProductID uint16
|
||||
}
|
||||
|
||||
type BlockDevicePassthroughConfig struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
type PassthroughConfig struct {
|
||||
USB []USBDevicePassthroughConfig
|
||||
Block []BlockDevicePassthroughConfig
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue