[can you please convince your mail client to wrap long lines?] On 08/13/2012 02:40 AM, 何鑫 wrote: > Hi, Could you give me some other advices about how to connect libvirt to a > qemu instance? I know three ways as below: 1. Using virt-install to > create a qemu
virt-install uses libvirt API under the hood - fix one place, you fix them all. > 2. Using libvirt API converting Domain xml to qemu Yes, this is correct. What exactly are you trying, and what is the exact error message you are getting? > 3. Using "virsh domxml-to-native" to convert qemu args to libvirt Domain > XML domxml-to-native is more of an upgrade help, and rather poorly maintained. It is there to help conversion of people starting qemu command lines by hand into a rough draft of what it would take to get libvirt to start a domain with the same features. > Actually I want to connect libvirt to an Android Emulator based qemu, but > I can't register qemu to libvirt for managing it. Because emulator's args are > different from original qemu args in some points. Could you give me some > ideas? What version of qemu are you targetting? Is it really a different fork from upstream qemu, with different command line parameters? If so, then patches to src/qemu/qemu_command.c to issue the appropriate command line when talking to the alternate qemu binary would be in order. -- Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libvirt-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvirt-users
