Bernd Schemmer
2006-Sep-25 18:36 UTC
[qemu-discuss] kqemu only working for one virtual machine at a time?
I installed qemu and kqemu from the OpenSolaris project page on my Ferrari running snv_46 with the xen bfu from 8/2006. Questions until now: 1. Looks like qemu (with and without kqemu) does not work with Xen (I asked this question already in other xen/qemu related forums but did not get an definitive answer yet) 2. I can only start one machine with kqemu enabled; starting another virtual machine while the first virtual machine is still running results in the error message: (bash):root at ferrari:/opt/kqemu-osol-1.3.0pre9 # Error -1 while initializing QEMU acceleration layer - disabling it for now I''m not sure if this is a general limitation of the kqemu module (( did not find anything about this on the kqemu homepage); a limitation of the Solaris version of the kqemu module, or a limitation from my environment (snv_46 and xen bfu) regards Bernd -- This message posted from opensolaris.org
Jürgen Keil
2006-Sep-26 09:08 UTC
[qemu-discuss] Re: kqemu only working for one virtual machine at a time?
> 2. I can only start one machine with kqemu enabled; > starting another virtual machine while the first > virtual machine is still running results in the error > message: > > (bash):root at ferrari:/opt/kqemu-osol-1.3.0pre9 # Error > -1 while initializing QEMU acceleration layer - > disabling it for now > > I''m not sure if this is a general > limitation of the kqemu module (( did not find > anything about this on the kqemu homepage); a > limitation of the Solaris version of the kqemu > module, or a limitation from my environment (snv_46 > and xen bfu)The same happens on snv_49 without xen. Apparently a limitation of the solaris kqemu kernel module. We have exactly one instance of the kqemu device, an if that instance already has an active "kqemu_instance->state" attached, another attempt to init kqemu fails with an EIO error: kqemu_ioctl() { ... s = ks->state; switch(cmd) { case KQEMU_INIT: { struct kqemu_init d; if (s != NULL) { error = EIO; break; } ... Maybe the Solaris kqemu module should implement some sort of "clone open" in kqemu_open(), so that multiple processes can open it and each process gets a different kqemu instance? -- This message posted from opensolaris.org
Eric Lowe
2006-Sep-28 17:25 UTC
[qemu-discuss] Re: kqemu only working for one virtual machine at a time?
> Maybe the Solaris kqemu module should implement some > sort of "clone open" in kqemu_open(), so that multiple > processes can open it and each process gets a different > kqemu instance?Correct, this is on the list of RFEs on the SketchPad, in fact. http://www.genunix.org/wiki/index.php/OpenSolaris_QEMU_SketchPad - Eric
Eric Lowe
2006-Oct-02 18:22 UTC
[qemu-discuss] Re: kqemu only working for one virtual machine at a time?
Eric Lowe wrote:>> Maybe the Solaris kqemu module should implement some >> sort of "clone open" in kqemu_open(), so that multiple >> processes can open it and each process gets a different >> kqemu instance? > > Correct, this is on the list of RFEs on the SketchPad, in fact.I have added clone open() support and uploaded a version 0.2 of the kqemu accelerator to the downloads page. - Eric