[PATCH 0/8] cleanup: Use bool type instead of bitfield

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

 



This changes all the bitfield into bool type in domain_conf.h,
except domain->autostart, domain->persistent, and domain->updated,
as the public APIs like virDomainIsPersistent returns domain->persistent
as integer, they can be changed internally, but not that deserved.

Osier Yang (8):
  Cleanup: Change datatype of hostdev->managed to boolean
  Cleanup: Change datatype of origstate's members into boolean
  cleanup: Change datatype of hostdev->missing to boolean
  cleanup: Change datatype of auth->expires to boolean
  cleanup: Change datatype of disk->shared to boolean
  cleanup: Change datatype of disk->transient to boolean
  cleanup: Change datatype of disk->readonly to boolean
  cleanup: Change datatype of fs->readonly to boolean

 src/conf/domain_conf.c           | 20 ++++++-------
 src/conf/domain_conf.h           | 20 ++++++-------
 src/lxc/lxc_hostdev.c            |  2 +-
 src/parallels/parallels_driver.c |  2 +-
 src/qemu/qemu_command.c          | 10 +++----
 src/qemu/qemu_hostdev.c          |  2 +-
 src/util/virpci.c                | 64 ++++++++++++++++++++--------------------
 src/util/virpci.h                |  8 ++---
 src/vbox/vbox_tmpl.c             | 12 ++++----
 src/xenxs/xen_sxpr.c             |  8 ++---
 src/xenxs/xen_xm.c               |  8 ++---
 11 files changed, 78 insertions(+), 78 deletions(-)

-- 
1.8.1.4

--
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]