[libvirt] [PATCH 0/3] qemu: Add baybysitting for memory hotplug users

Peter Krempa pkrempa at redhat.com
Tue Apr 28 15:37:42 UTC 2015


Add sanity checks for some unsupported/invalid configs of memory devices.

Peter Krempa (3):
  qemu: conf: Reject memory device if it would exceed configured max
    size
  qemu: command: Validate that memory devices slot ID is in range
  qemu: Validate available slot count for memory devices

 src/conf/domain_conf.c  | 11 +++++++++++
 src/qemu/qemu_command.c | 19 ++++++++++++++++++-
 src/qemu/qemu_command.h |  1 +
 src/qemu/qemu_driver.c  |  6 ++++++
 src/qemu/qemu_hotplug.c |  8 +++++++-
 5 files changed, 43 insertions(+), 2 deletions(-)

-- 
2.3.5




More information about the libvir-list mailing list