]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
cgroup: determine when skipping non-devices
authorEric Blake <eblake@redhat.com>
Thu, 17 Feb 2011 00:05:54 +0000 (17:05 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 24 Feb 2011 20:31:05 +0000 (13:31 -0700)
commit061738764db6b8296ea80103d2fa60028ff2e2ba
tree866a599b77a8006494d9488044c8f67f4d5fe960
parentfd21ecfd49733caed759ed88ea171c217752cd4c
cgroup: determine when skipping non-devices

* src/util/cgroup.c (virCgroupAllowDevicePath)
(virCgroupDenyDevicePath): Don't fail with EINVAL for
non-devices.
* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Update caller.
* src/qemu/qemu_cgroup.c (qemuSetupDiskPathAllow)
(qemuSetupChardevCgroup, qemuSetupHostUsbDeviceCgroup)
(qemuSetupCgroup, qemuTeardownDiskPathDeny): Likewise.
src/qemu/qemu_cgroup.c
src/qemu/qemu_driver.c
src/util/cgroup.c