aboutsummaryrefslogtreecommitdiff
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-09-24 08:52:22 +0200
committerKlaus Jensen <k.jensen@samsung.com>2021-11-19 07:31:56 +0100
commit916b0f0b5264759c581badfdc0e1c5f98362dbda (patch)
tree2d4fde975e1189783cdfc836ad0d1b0f7524b8e7 /hw/core/machine.c
parent9fc6e86e8b69e2e672cbb9c25cddc3b9deb96afb (diff)
hw/nvme: change nvme-ns 'shared' default
Change namespaces to be shared namespaces by default (parameter shared=on). Keep shared=off for older machine types. Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/core/machine.c')
-rw-r--r--hw/core/machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index 26ec54e726..53a99abc56 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -39,6 +39,7 @@
GlobalProperty hw_compat_6_1[] = {
{ "vhost-user-vsock-device", "seqpacket", "off" },
+ { "nvme-ns", "shared", "off" },
};
const size_t hw_compat_6_1_len = G_N_ELEMENTS(hw_compat_6_1);