
On 12/16/2010 09:50 AM, Daniel P. Berrange wrote:
The QEMU driver file is far too large. Move all the cgroup helper code out into a separate file. No functional change.
* src/qemu/qemu_cgroup.c, src/qemu/qemu_cgroup.h, src/Makefile.am: Add cgroup helper file * src/qemu/qemu_driver.c: Delete cgroup code --- src/Makefile.am | 1 + src/qemu/qemu_cgroup.c | 377 ++++++++++++++++++++++++++++++++++++++++++++++++ src/qemu/qemu_cgroup.h | 61 ++++++++ src/qemu/qemu_driver.c | 343 +------------------------------------------- 4 files changed, 440 insertions(+), 342 deletions(-) create mode 100644 src/qemu/qemu_cgroup.c create mode 100644 src/qemu/qemu_cgroup.h
ACK. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org