From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 3 18:00:48 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 875AA6E4 for ; Tue, 3 Sep 2013 18:00:48 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 477872605 for ; Tue, 3 Sep 2013 18:00:47 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 5ECC11E007B4; Tue, 3 Sep 2013 20:00:41 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r83HwdKW012177; Tue, 3 Sep 2013 19:58:39 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r83HwcW0012176; Tue, 3 Sep 2013 19:58:38 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 3 Sep 2013 19:58:38 +0200 To: Beeblebrox Subject: Re: qemu-devel - no kvm accelerator Message-ID: <20130903175838.GA11984@triton8.kn-bremen.de> References: <1378133332544-5841054.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1378133332544-5841054.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 18:00:48 -0000 On Mon, Sep 02, 2013 at 07:48:52AM -0700, Beeblebrox wrote: > I'm trying to use Windows XP under qemu-system-x86_64. Windows XP is > installed on an image file, starts up, but is very slow and mouse is jumpy > after "mouse grab" (ctrl+alt+g). I have set and enabled everything as > instructed here: https://wiki.freebsd.org/qemu and here (although similar, > has better instructions): > http://taer-naguur.blogspot.com/2013...ebsd-host.html. I start qemu as > advised in 2nd link by: > $ qemu-system-x86_64 -enable-kvm -kernel-kqemu -m 1024 -vga std -soundhw all > -net nic,model=rtl8139 -net tap,name=tap0,script=no -hda /home/vm/windows_xp > -boot c -localtime > ==> qemu-system-x86_64: -kernel-kqemu: invalid option > kqemu is only available in the old version 0.11 i.e. emulators/qemu, but in general kqemu is slower and less stable than using emulators/virtualbox-ose for x86/x64 guests. > Removing the kernel-kqemu part and retrying gives a new problem ==> > KVM not supported for this target > "kvm" accelerator does not exist. > No accelerator found! > ..and the kvm port was never finished, hence the recommendation to use vbox instead. > Removing this part (enable-kvm) and starting by > $ qemu-system-x86_64 -m 1024 -vga std -soundhw all -net nic,model=rtl8139 > -net tap,name=tap0,script=no -hda /home/vm/windows_xp -boot c -localtime > ==> Assertion failed: (pio->offset >= off_last), function portio_list_add, > file /asp/obj/asp/git/ports/emulators/qemu-devel/work/qemu-1.6.0/ioport.c, > line 240. Abort (core dumped) > Not sure what's up with that, we'd need a backtrace... Or try changing options one by one to see what triggers it. > Starting qemu as advised in the first link by > $ qemu-system-x86_64 -net nic,model=e1000 -net tap,name=tap0,script=no -hda > /home/vm/winxp.img > results in the very slow Windows XP emulation described above. kldstat shows > kqemu, aio and if_tap as loaded. Is the problem I am getting due to > emulators/kqemu-kmod-devel or because of the start-up command? > Installed packages: kqemu-kmod-devel-1.4.0.p1_5, qemu-devel-1.6.0. Host: > FreeBSD_9.2-stable_amd64 > As mentioned only the old emulators/qemu port can still use kqemu, and also the kqemu port option needs to be set when building it. But if I were you I'd just use vbox instead... HTH, :) Juergen