[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]