Skip to content

Commit

Permalink
tests: Remove 9p proxy driver
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Somers <[email protected]>
  • Loading branch information
bensmrs committed Dec 24, 2024
1 parent d6d456b commit 7167cea
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions internal/server/instance/drivers/driver_qemu_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,15 +839,16 @@ func TestQemuConfigTemplates(t *testing.T) {
dev: qemuDevOpts{"pci", "qemu_pcie0", "00.5", true},
devName: "stub",
mountTag: "mtag",
path: "/var/9p",
protocol: "9p",
readonly: false,
proxyFD: 5,
},
`# stub drive (9p)
[fsdev "incus_stub"]
fsdriver = "proxy"
sock_fd = "5"
fsdriver = "local"
security_model = "mapped-xattr"
readonly = "off"
path = "/var/9p"
[device "dev-incus_stub-9p"]
driver = "virtio-9p-pci"
Expand Down Expand Up @@ -898,15 +899,16 @@ func TestQemuConfigTemplates(t *testing.T) {
dev: qemuDevOpts{"ccw", "qemu_pcie0", "00.0", false},
devName: "stub2",
mountTag: "mtag2",
path: "/var/9p",
protocol: "9p",
readonly: true,
proxyFD: 3,
},
`# stub2 drive (9p)
[fsdev "incus_stub2"]
fsdriver = "proxy"
sock_fd = "3"
fsdriver = "local"
security_model = "mapped-xattr"
readonly = "on"
path = "/var/9p"
[device "dev-incus_stub2-9p"]
driver = "virtio-9p-ccw"
Expand Down

0 comments on commit 7167cea

Please sign in to comment.