Merge pull request #34 from devimc/topic/addrBusVsock

qemu/qmp: add addr and bus to hotplug vsock devices
This commit is contained in:
Sebastien Boeuf
2018-08-08 08:44:09 -07:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -1038,7 +1038,7 @@ func TestExecutePCIVSockAdd(t *testing.T) {
cfg := QMPConfig{Logger: qmpTestLogger{}}
q := startQMPLoop(buf, cfg, connectedCh, disconnectedCh)
checkVersion(t, connectedCh)
err := q.ExecutePCIVSockAdd(context.Background(), "vsock-pci0", "3", "1", true)
err := q.ExecutePCIVSockAdd(context.Background(), "vsock-pci0", "3", "1", "1", "1", true)
if err != nil {
t.Fatalf("Unexpected error %v", err)
}