From 2cc31fc616971e2c91af33596c7990d38319d9ea Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 7 Jun 2016 17:57:45 +0200 Subject: [PATCH] Enable CPU and RAM hotplug on QEMU See also: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1233466 --- debian/extra/rules-ubuntu/40-vm-hotadd.rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/extra/rules-ubuntu/40-vm-hotadd.rules b/debian/extra/rules-ubuntu/40-vm-hotadd.rules index 62a5a62..046e3cc 100644 --- a/debian/extra/rules-ubuntu/40-vm-hotadd.rules +++ b/debian/extra/rules-ubuntu/40-vm-hotadd.rules @@ -1,4 +1,6 @@ -# On Hyper-V and Xen Virtual Machines we want to add memory and cpus as soon as they appear +# On QEMU, Hyper-V, and Xen Virtual Machines we want to add memory and cpus as soon as they appear +ATTR{[dmi/id]sys_vendor}=="Bochs", GOTO="vm_hotadd_apply" +ATTR{[dmi/id]sys_vendor}=="QEMU", GOTO="vm_hotadd_apply" ATTR{[dmi/id]sys_vendor}=="Microsoft Corporation", ATTR{[dmi/id]product_name}=="Virtual Machine", GOTO="vm_hotadd_apply" ATTR{[dmi/id]sys_vendor}=="Xen", GOTO="vm_hotadd_apply" GOTO="vm_hotadd_end" -- 2.7.4