On Tue, Aug 11, 2015 at 04:57:15PM +0530, Nikunj A Dadhania wrote: > The default resource partition is created in the domain start path if it > is not existing. Even when libvirtd is stopped after shutting down all > domains, the resource partition still exists. > > The patch adds code to removes the default resource partition in the > cgroup removal path of the domain. If the default resource partition is > found to have no child cgroup, the default resource partition will be > removed. > > Moreover, the code does not remove the user provided resource > partitions. > > Signed-off-by: Nikunj A Dadhania <nikunj@xxxxxxxxxxxxxxxxxx> I don't think we want to be doing this. In non-systemd hosts this will be deleting the heirarchy that the sysadmin manually pre-created for their VMs. In a systemd host it will also end up deleting slices that were created by systemd. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list