From 7167ceaeb32753d88db1b923a16a4c8cab6532b7 Mon Sep 17 00:00:00 2001 From: Benjamin Somers Date: Tue, 24 Dec 2024 15:47:59 +0000 Subject: [PATCH] tests: Remove 9p proxy driver Signed-off-by: Benjamin Somers --- .../instance/drivers/driver_qemu_config_test.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/internal/server/instance/drivers/driver_qemu_config_test.go b/internal/server/instance/drivers/driver_qemu_config_test.go index b2bb65c1769..3e8d31c6f3f 100644 --- a/internal/server/instance/drivers/driver_qemu_config_test.go +++ b/internal/server/instance/drivers/driver_qemu_config_test.go @@ -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" @@ -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"