diff options
Diffstat (limited to 'src/uml/uml_driver.c')
-rw-r--r-- | src/uml/uml_driver.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index 27731f20bc..bdfc12e8e7 100644 --- a/src/uml/uml_driver.c +++ b/src/uml/uml_driver.c @@ -444,10 +444,14 @@ umlDomainDeviceDefPostParse(virDomainDeviceDefPtr dev, static int -umlDomainDefPostParse(virDomainDefPtr def ATTRIBUTE_UNUSED, +umlDomainDefPostParse(virDomainDefPtr def, virCapsPtr caps ATTRIBUTE_UNUSED, void *opaque ATTRIBUTE_UNUSED) { + /* memory hotplug tunables are not supported by this driver */ + if (virDomainDefCheckUnsupportedMemoryHotplug(def) < 0) + return -1; + return 0; } |