qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 13/19] Add a query-target command to QMP


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 13/19] Add a query-target command to QMP
Date: Mon, 07 Jun 2010 17:43:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Thunderbird/3.0.4

On 06/07/2010 04:42 PM, Daniel P. Berrange wrote:
+#ifdef CONFIG_KVM
+    qlist_append_obj(engines, qobject_from_jsonf("{ 'name': 'kvm' }"));
+#endif
+#ifdef CONFIG_XEN
+    qlist_append_obj(engines, qobject_from_jsonf("{ 'name': 'xen' }"));
+#endif

I suggest using kvm_available() and xen_available(), so that any cut-and-paste typos do not go undetected in the future.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]