Re: [PATCH 0/2] conf: Convert 'tray_status' and 'startupPolicy' of virDomainDiskDef to enums

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

 



On Fri, Apr 16, 2021 at 14:22:32 +0200, Tim Wiederhake wrote:
> On Fri, 2021-04-16 at 13:50 +0200, Peter Krempa wrote:
> > I was testing how virXMLPropEnum works when used on converted types,
> > so
> > I've converted these.
> > 
> > Peter Krempa (2):
> >   conf: domain: Convert virDomainDiskDef's 'tray_status' to
> >     virDomainDiskTray
> >   conf: domain: Convert virDomainDiskDef's 'startupPolicy' to
> >     virDomainStartupPolicy

Actually startupPolicy is checked as <= in the original code, so
consider VIR_XML_PROP_NONZERO added in that case.

> >  src/conf/domain_conf.c | 31 +++++++------------------------
> >  src/conf/domain_conf.h |  4 ++--
> >  2 files changed, 9 insertions(+), 26 deletions(-)
> > 
> Reviewed-by: Tim Wiederhake <twiederh@xxxxxxxxxx>




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

  Powered by Linux