From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 19:24:50 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4672456C for ; Wed, 28 Jan 2015 19:24:50 +0000 (UTC) Received: from lb3-smtp-cloud2.xs4all.net (lb3-smtp-cloud2.xs4all.net [194.109.24.29]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A72AFF52 for ; Wed, 28 Jan 2015 19:24:49 +0000 (UTC) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud2.xs4all.net with ESMTP id lXQk1p00F07iGuj01XQl25; Wed, 28 Jan 2015 20:24:46 +0100 Received: by slackbox.erewhon.home (Postfix, from userid 1001) id E6FD712426; Wed, 28 Jan 2015 20:24:44 +0100 (CET) Date: Wed, 28 Jan 2015 20:24:44 +0100 From: Roland Smith To: "William A. Mahaffey III" Subject: Re: Is QEMU working/reliable under .... Message-ID: <20150128192444.GA31295@slackbox.erewhon.home> Mail-Followup-To: "William A. Mahaffey III" , FreeBSD Questions !!!! References: <54C7C62A.5030605@hiwaay.net> <20150127210422.GA27921@slackbox.erewhon.home> <54C838CE.7040502@hiwaay.net> <20150128071441.GA29698@slackbox.erewhon.home> <54C8EFF3.6050803@hiwaay.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <54C8EFF3.6050803@hiwaay.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 19:24:50 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 28, 2015 at 08:19:31AM -0600, William A. Mahaffey III wrote: > On 01/28/15 01:14, Roland Smith wrote: > > On Tue, Jan 27, 2015 at 07:18:06PM -0600, William A. Mahaffey III wrote: > >> On 01/27/15 15:04, Roland Smith wrote: > >>> On Tue, Jan 27, 2015 at 11:08:58AM -0600, William A. Mahaffey III wro= te: > >>>> .... FreeBSD 9.3-RELEASE-p5, qemu-0.11.1_18, kqemu-kmod-1.3.0.p11_12= ? I > >>>> have tried w/ kqemu loaded & unloaded (recommended online), w/ > >>>> -nographic, w/ -vga std, etc. No love. All I want to do is run a Win= XP > >>>> 32bit VM &/or a 64-bit Win7 VM from my desktop (xfce-4.10_7, xorg-7.= 7_1, > >>>> xf86-video-vesa-2.3.3_5) :-/ .... Several online sites imply that it > >>>> works OK, 1 specifically w/ FreeBSD 9 no less. Any clues appreciated, > >>>> any more info gladly provided .... > >>> This version is *ancient*. I would suggest trying qemu-devel instead,= because > >>> that provides qemu-2.2.0. Last time I tried it 0.11 with or without q= kemu > >>> crashed a lot. > >>> > >>> According to the website, qemu version 0.11 and up do not support kqe= mu > >>> anymore (see http://wiki.qemu.org/KQEMU), so you don't need that anym= ore. > >>> > >>> In time (and if your processor is new enough to have =E2=80=9Cextende= d page tables=E2=80=9D) I > >>> guess qemu on FreeBSD could be replaced by the bhyve hypervisor that = is now in > >>> 10.x and is being developed further in HEAD. Currently bhyve can load= FreeBSD, > >>> OpenBSD, NetBSD and Linux guests. Support to run windoze as a guest w= ill come > >>> in the future. > >>> > >>> Roland > >> OK, I have qemu-devel compiled & installed, kqemu unloaded from the > >> kernel, & (hopefully) a build of a VM underway, command-line: qemu > >> -cdrom ../../../ISOs/winxp.iso -hda HDD.img -m 256 -boot d -cpu athlon > >> -vga std -nographic -no-acpi -localtime, w/ qemu softlinked to If you specify -nographic you won't see *anything*. How are you going to interact with the windows installer that way? :-) Try: qemu-system-i386 -cdrom ../../../ISOs/winxp.iso -hda HDD.img -m 256 -bo= ot d Booting a windows HD image takes around 90 seconds on my machine. Slackware Linux takes around 120 seconds. Qemu isn't exactly a speed demon... > >> qemu-system-x86_64 in /usr/local/bin. How long is this expected to take > >> :-) ? TIA & thx for everything so far .... > > If you are using a 64-bit build of XP the GUI should come up pretty fas= t. > > Installing XP will seem to take ages. :-) Trying to run a 32-bit XP on a > > 64-bit emulator won't work at all, IIRC. I think it won't even boot. > > > > Depending on which windows programs you need to run, there is a pre-bui= lt > > 32-bit Wine for AMD64 available in ports. That might run them faster be= cause > > it's not a VM. > > > > Roland >=20 > Hmmmmm .... OK, I was/am using 32-bit WinXP, maybe that's part of the=20 > problem. I eventually killed this process after 5+ hrs w/ no visible=20 > progress & tried again w/ qemu-system-i386 & the rest of the command=20 > line args, still (apparently) nogo, killed it after about 1 hr., no=20 > visible progress. I never saw *any* GUI pop up in either case. I'm a bit= =20 > confused here, I thought the qemu executable needed to match the host as= =20 > much as possible, that's why I tried the x86_64 qemu 1st. It should match the *guest*. The postfix after qemu indicates which architecture it is emulating. If you only need an emulator for i386 and x86-64, enable te X86_TARGETS opt= ions. That will skip all the other architectures. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJUyTd8AAoJEED21dyjijPgxM8P/iwIbHCtFdSrpd0iArBjXif3 Ll3Y6QhxkTS0lWCJLyTUmSTGSZ/3uxGXKt/UtNu+RMJ3XvsQzSpEhjzYSE0q0pKT hSNXo7SOWbHOt3cdZzCk28trQjElqS0wZI0BNulqeFGyxKhXnebcrK9KTJLnM50j 8R0304mvH8tHMGzZQV4lUxTIJEWc0sV720CqxYwC4KrOKcAP4/xHy8tMEgSjoWb5 lskHRXbGYKDDPELxhkO61IQpAA//ubalG5+0g9fy9TmxFc0plY+LjaTUPMjo9Us8 iA2D9+yAXhFf/CSNVTm0/+LxUfqfNs2zXg2tt1N/fki93SMPyw4+WrJVO9mu7+Sn 7IwFgBGld1Z6CsODF8JYokSIK0QyG6cNl9hhLeb714hbpVstY9Op+780nrRNQSSj qwAUyOLKwXgHzTpR+JM59nt8XnlaNi4hJ/gj560nQW3LRn5kiY1H5RDzBAyVgxYS +nrq2oowtTBwB6HVCZb1dTdepQ3Crrk38ysmgvg60sjuhGqXDebKzle04UsAC1Ol Z/FnGm8BgoeKENUJ6FKDH2Wr02GGN6W2jhiKXwUJPJZJsN4keM5IHBi2hPxC8JOT xemKfFVfhQ6Nd3GAr/+3JmltXkukagOs99zL6kAlIvz23vbgI40t0GJq3qvYXc67 T9hCDWs1qWvyWmZqpI/I =Y8k0 -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--