]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Fix QEMU domain save to block devices with cgroups enabled
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 21 Apr 2010 15:44:40 +0000 (16:44 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Apr 2010 12:51:55 +0000 (13:51 +0100)
commit712048bd9a892ccc66ab48da18d74edd1298ae0e
tree9185e3ddf16ccfadcd260d8c8cfa3aac53330dc4
parent93e0b3c8d665a7cc1ea3267a1e60868f633f51c2
Fix QEMU domain save to block devices with cgroups enabled

When cgroups is enabled, access to block devices is likely to be
restricted to a whitelist. Prior to saving a guest to a block device,
it is necessary to add the block device to the whitelist. This is
not required upon restore, since QEMU reads from stdin

* src/qemu/qemu_driver.c: Add block device to cgroups whitelist
  if neccessary during domain save.
src/qemu/qemu_driver.c