Merge pull request #192 from dgibson/host-device

Use 'host_device' driver for blockdev backends
This commit is contained in:
David Gibson
2021-07-29 17:03:44 +10:00
committed by GitHub

View File

@@ -775,7 +775,7 @@ func (q *QMP) blockdevAddBaseArgs(device, blockdevID string, ro bool) (map[strin
"driver": "raw",
"read-only": ro,
"file": map[string]interface{}{
"driver": "file",
"driver": "host_device",
"filename": device,
},
}