From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id ED02321B02BBE for ; Thu, 6 Jul 2017 20:38:49 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jul 2017 20:40:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,320,1496127600"; d="scan'208,217";a="989991022" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 06 Jul 2017 20:40:28 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Jul 2017 20:40:26 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 6 Jul 2017 20:40:25 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by shsmsx102.ccr.corp.intel.com ([169.254.2.146]) with mapi id 14.03.0319.002; Fri, 7 Jul 2017 11:40:23 +0800 From: "Wu, Jiaxin" To: Laszlo Ersek CC: edk2-devel-01 Thread-Topic: OVMF OS boot Thread-Index: AdL20ngK1gDTC489RhydpUjEfUQaPg== Date: Fri, 7 Jul 2017 03:40:23 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B7274162E37E7@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWY2Y2FlYmEtYjg2MC00NDJiLWE4ZDItODVhMjBhNjk0MjllIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjlseE81aytOak81VzVpNW83bDFYVjlkYjd6ZDdNc25QWGRnOXJTZG1pU2s9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: OVMF OS boot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2017 03:38:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Laszlo, I'm trying to PXE boot Windows 7 within OVMF. According the README under Ov= mfPkg, I should run the QEMU command with '-vga std' or '-vga qxl': Current capabilities: ... * UEFI Linux boots * UEFI Windows 8 boots * UEFI Windows 7 & Windows 2008 Server boot (see important notes below!) ... * One of the '-vga std' and '-vga qxl' QEMU options should be used. * Only one video mode, 1024x768x32, is supported at OS runtime. * The '-vga qxl' QEMU option is recommended. After booting the installed guest OS, select the video card in Device Manager, and upgrade its driver to the QXL XDDM one. Download location: , Guest | Windows binaries. This enables further resolutions at OS runtime, and provides S3 (suspend/resume) capability. But after PXE downloaded the install image and run into OS phase(So, it's n= ot related to PXE), the QEMU screen is always black, never show anything (B= oth '-vga std' and '-vga qxl'). I also tried the PXE boot to windows 10, th= e bluescreen happened during OS phase (Even is not declared to boot win10 i= n README). MyQEMU command is attached as below: sudo qemu-system-x86_64 \ -vga std \ -machine q35 \ -m 8192 \ -hda /var/qemuDisk/vd1 \ -pflash OVMF.fd \ -global e1000.romfile=3D""\ \ -netdev tap,id=3Dhostnet0,ifname=3Dtap0,script=3Dno,downscript=3Dno \ -device e1000,netdev=3Dhostnet0 Notes: vd1 is created by: dd if=3D/dev/zero of=3D/var/qemuDisk/vd1 seek=3D1= M bs=3D20480 count=3D1 Do you know why? Thanks and Best Regards! Jiaxin