[PATCH v2 10/21] qemu: use virDomainDefHasGraphics