[libvirt] [PATCH] virDomainDiskDef: Turn @device into enum
John Ferlan
jferlan at redhat.com
Mon Sep 28 14:09:06 UTC 2015
On 09/17/2015 11:37 AM, Michal Privoznik wrote:
> It's used as enum everywhere, so why store its value in an int?
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/conf/domain_conf.c | 9 +++------
> src/conf/domain_conf.h | 2 +-
> src/qemu/qemu_command.c | 2 ++
> src/vmx/vmx.c | 6 +++---
> src/vmx/vmx.h | 2 +-
> src/xenconfig/xen_sxpr.c | 4 +++-
> 6 files changed, 13 insertions(+), 12 deletions(-)
>
Seems reasonable - ACK
John
Seems to be safe too
More information about the libvir-list
mailing list