[PATCH 0/2] Split out parts of qemu_driver.c into separate files

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

 



qemu_driver.c is starting to grow out of proportions. This series
creates two(actualy four) files to split out some code from the main file.

1) qemu_util.c - various qemu-related tools and common code (~0.5k lines)
2) qemu_snapshot.c - snapshot related code (~1.7k lines)

Apart from reformating function headers, no changes were made to the code.

Peter Krempa (2):
  qemu: Split out various utility functions to qemu_util.c
  qemu: Split out snapshot related functions to qemu_snapshot.c

 po/POTFILES.in           |    2 +
 src/Makefile.am          |    2 +
 src/qemu/qemu_driver.c   | 2191 +---------------------------------------------
 src/qemu/qemu_snapshot.c | 1752 ++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_snapshot.h |   38 +
 src/qemu/qemu_util.c     |  486 ++++++++++
 src/qemu/qemu_util.h     |  111 +++
 7 files changed, 2404 insertions(+), 2178 deletions(-)
 create mode 100644 src/qemu/qemu_snapshot.c
 create mode 100644 src/qemu/qemu_snapshot.h
 create mode 100644 src/qemu/qemu_util.c
 create mode 100644 src/qemu/qemu_util.h

-- 
1.8.0.2
e

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]