Received: from eggs.gnu.org ([2001:4830:134:3::10]:37622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqGEu-0007Kz-3m for qemu-devel@nongnu.org; Sat, 01 Oct 2016 05:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqGEp-0005t9-7D for qemu-devel@nongnu.org; Sat, 01 Oct 2016 05:05:48 -0400 Received: from indium.canonical.com ([91.189.90.7]:52386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqGEo-0005sV-TJ for qemu-devel@nongnu.org; Sat, 01 Oct 2016 05:05:43 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bqGEo-0003Sk-0V for ; Sat, 01 Oct 2016 09:05:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E65AD2E80C7 for ; Sat, 1 Oct 2016 09:05:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 01 Oct 2016 08:59:56 -0000 From: "Laszlo Ersek \(Red Hat\)" Reply-To: Bug 1629282 <1629282@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160930112121.18035.39780.malonedeb@wampee.canonical.com> Message-Id: <20161001085956.24782.88148.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1629282] Re: QEMU (still) hangs on Windows 7 install List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I'll assume "OVMF_15214.fd" is from . It's an ancient build of OVMF (older than two and half years). The binary packaged in that ZIP file isn't even a split one, it's a unified binary that is unsuitable for the command line that you've given above. Please either grab the most recent OVMF build from your distribution, or a bleeding edge build from (recommended). Then create a copy of the varstore template, to be used as the VM's own private variable store. Also, fix the "-display std" command line option, as in "-vga std". It will just work then. Below I'll specify the commands that I just re-tested. Note that I'm also renaming the QEMU_BIOS and QEMU_BIOS_TMP variables (whose names are quite inappropriate) to FIRMWARE_BINARY and VARIABLE_STORE. # this binary corresponds to upstream git cc9a366d3b16, # dated "Thu Sep 29 00:34:20 2016 +0100" QEMU_BINARY=3D/opt/qemu-installed/bin/qemu-system-x86_64 # these files are from package # "edk2.git-ovmf-x64-0-20160929.b2144.g84bc72f.noarch", installed # from kraxel.org FIRMWARE_BINARY=3D/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd VARIABLE_STORE_TEMPLATE=3D/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-e= fi.fd VARIABLE_STORE=3D/tmp/guest1-vars.fd # Windows 7 installer disk QEMU_WINDOWS_7_CD=3Den_windows_7_enterprise_n_with_sp1_x64_dvd_u_677704= .iso # other settings QEMU_MEMORY=3D2048 # create empty variable store from pristine template if the varstore do= esn't # exist yet, or has been lost for some reason if ! [ -e "$VARIABLE_STORE" ]; then cp -v -- "$VARIABLE_STORE_TEMPLATE" "$VARIABLE_STORE" fi $QEMU_BINARY \ -drive if=3Dpflash,format=3Draw,readonly,file=3D"$FIRMWARE_BINARY" \ -drive if=3Dpflash,format=3Draw,file=3D"$VARIABLE_STORE" \ -enable-kvm \ -m $QEMU_MEMORY \ -vga std \ -cpu host,kvm=3Doff -smp 4,sockets=3D1,cores=3D4 \ -cdrom $QEMU_WINDOWS_7_CD ** Changed in: qemu Status: New =3D> Invalid -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1629282 Title: QEMU (still) hangs on Windows 7 install Status in QEMU: Invalid Bug description: I'm trying to install Windows 7 as guest, but the machine still hangs (more precisely, the windows icon keeps flashing, but never goes past this stage). I think this is a different bug from https://bugs.launchpad.net/qemu/+bug/1581936. Specifically, its happens when the OVMF BIOS is used, and I can't find any workaround (in the above bug, by changing the display, the installation doesn't hang). The most minimal commandline that reproduces the issue is (generic format): $QEMU_BINARY \ -drive if=3Dpflash,format=3Draw,readonly,file=3D$QEMU_BIOS \ -drive if=3Dpflash,format=3Draw,file=3D$QEMU_BIOS_TMP \ -enable-kvm \ -m $QEMU_MEMORY \ -display std \ -cpu host,kvm=3Doff -smp 4,sockets=3D1,cores=3D4 \ -cdrom $QEMU_WINDOWS_7_CD \ ; I'm using `OVMF_15214.fd` as BIOS. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1629282/+subscriptions