[libvirt] [PATCH] qemu: extract function qemuDomainDefIsUEFI()

Martin Kletzander mkletzan at redhat.com
Thu Aug 29 15:41:22 UTC 2019


On Thu, Aug 29, 2019 at 09:11:56AM -0500, Jonathon Jongsma wrote:
>Rather than repeating the conditions in a couple places, extract it into
>a separate function for detecting whether a domain definition uses UEFI.
>
>Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
>---
>As requested by Andrea, I've extracted this little bit of refactoring from my
>bochs display patch and am sending it separately.
>

Yeah, this is way more readable =)

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190829/1202643f/attachment-0001.sig>


More information about the libvir-list mailing list