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

Re: [libvirt] [PATCH 7/7] Remove useless os.machine NULL check



On Tue, May 03, 2016 at 12:47:27 +0200, Ján Tomko wrote:
> In qemuDomainDefAddDefaultDevices we check for a non-NULL
> def->os.machine for x86 archs, but not the others.
> 
> Moreover, the only caller - qemuDomainDefPostParse
> already checks for it and even then it can happen only
> if /etc/libvirt contains an XML without a machine type.
> ---
>  src/qemu/qemu_domain.c | 2 --
>  1 file changed, 2 deletions(-)

ACK

Attachment: signature.asc
Description: Digital signature


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