mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
qemu: Add a virtio-blk-pci device driver support
Add a pci bus based virtio block device driver support. Fixes:#92 Signed-off-by: lifupan <lifupan@gmail.com>
This commit is contained in:
parent
b3e7a9e784
commit
7d3deea4fc
@ -71,6 +71,9 @@ const (
|
||||
// VirtioBlock is the block device driver.
|
||||
VirtioBlock DeviceDriver = "virtio-blk"
|
||||
|
||||
// VirtioBlockPCI is a pci bus block device driver
|
||||
VirtioBlockPCI DeviceDriver = "virtio-blk-pci"
|
||||
|
||||
// Console is the console device driver.
|
||||
Console DeviceDriver = "virtconsole"
|
||||
|
||||
|
@ -47,6 +47,7 @@ var isVirtioPCI = map[DeviceDriver]bool{
|
||||
VirtioNetPCI: true,
|
||||
VirtioSerial: true,
|
||||
VirtioBlock: true,
|
||||
VirtioBlockPCI: true,
|
||||
Console: false,
|
||||
VirtioSerialPort: false,
|
||||
VHostVSock: true,
|
||||
|
Loading…
Reference in New Issue
Block a user