mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 05:34:46 +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 is the block device driver.
|
||||||
VirtioBlock DeviceDriver = "virtio-blk"
|
VirtioBlock DeviceDriver = "virtio-blk"
|
||||||
|
|
||||||
|
// VirtioBlockPCI is a pci bus block device driver
|
||||||
|
VirtioBlockPCI DeviceDriver = "virtio-blk-pci"
|
||||||
|
|
||||||
// Console is the console device driver.
|
// Console is the console device driver.
|
||||||
Console DeviceDriver = "virtconsole"
|
Console DeviceDriver = "virtconsole"
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ var isVirtioPCI = map[DeviceDriver]bool{
|
|||||||
VirtioNetPCI: true,
|
VirtioNetPCI: true,
|
||||||
VirtioSerial: true,
|
VirtioSerial: true,
|
||||||
VirtioBlock: true,
|
VirtioBlock: true,
|
||||||
|
VirtioBlockPCI: true,
|
||||||
Console: false,
|
Console: false,
|
||||||
VirtioSerialPort: false,
|
VirtioSerialPort: false,
|
||||||
VHostVSock: true,
|
VHostVSock: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user