From: "Laszlo Ersek" <lersek@redhat.com>
To: junhao.gao@intel.com
Cc: devel@edk2.groups.io, David Woodhouse <dwmw2@infradead.org>
Subject: Re: [edk2-devel] question about qemu+kvm+ovmf+winxp
Date: Thu, 10 Oct 2019 20:10:36 +0200 [thread overview]
Message-ID: <dc12e4a2-494d-d7f5-7de5-c333a41132ca@redhat.com> (raw)
In-Reply-To: <50E163A92F208D4B8CEB452055E613EB0AFE85F7@SHSMSX101.ccr.corp.intel.com>
On 10/10/19 16:37, Junhao Gao wrote:
> Hi edk2 members
>
> I have a question for your help.
> I want to enable qemu+kvm+ovmf to boot up windows xp,
> then ovmf support winxp starting-up?
To my understanding, the first Windows "family" with any kind of UEFI
support is Windows 7.
OvmfPkg/README has some comments on Windows support:
> * UEFI Windows 8 boots
> * UEFI Windows 7 & Windows 2008 Server boot (see important notes below!)
and
> === UEFI Windows 7 & Windows 2008 Server ===
>
> * 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:
> <http://www.spice-space.org/download.html>, Guest | Windows binaries.
> This enables further resolutions at OS runtime, and provides S3
> (suspend/resume) capability.
If you'd like to virtualize Windows XP on QEMU/KVM, please use SeaBIOS for
guest firmware.
You can also try to build OVMF with -D CSM_ENABLE, but for that, you'll
have to build SeaBIOS in CSM mode first, and embed that binary into OVMF
at build time. Please ask David for details (CC'd).
Thanks
Laszlo
> qemu command:
> qemu-system-x86_64 -hda winxp.img -boot c -enable-kvm -cpu host -bios ./OVMF.fd -m 512 -vga cirrus -net nic,model=rtl8139 -net user -usbdevice tablet -localtime
> Then if ovmf support, could you provide me the way to compile the OVMF.fd?
>
> Thanks,
> Junhao
>
>
>
>
>
next prev parent reply other threads:[~2019-10-10 18:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-10 14:37 question about qemu+kvm+ovmf+winxp Junhao Gao
2019-10-10 18:10 ` Laszlo Ersek [this message]
2019-10-11 1:32 ` [edk2-devel] " Junhao Gao
[not found] ` <15CC73B09CF3FDD9.17220@groups.io>
2019-10-11 7:44 ` Junhao Gao
2019-10-11 14:27 ` Laszlo Ersek
2019-10-11 14:35 ` David Woodhouse
2019-10-12 6:13 ` Junhao Gao
2019-10-12 6:27 ` Andrew Fish
2019-10-14 12:59 ` Laszlo Ersek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dc12e4a2-494d-d7f5-7de5-c333a41132ca@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox