Bug 495449

Summary: qemu-kvm can not execute winxp vm with -vga std or -vga vmware
Product: [Fedora] Fedora Reporter: Peng Huang <phuang>
Component: qemuAssignee: David Woodhouse <dwmw2>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: rawhideCC: dwmw2, gcosta, markmc, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-19 10:32:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peng Huang 2009-04-13 09:30:05 UTC
Description of problem:
qemu-kvm can not execute winxp vm with -vga std or -vga vmware

Version-Release number of selected component (if applicable):
qemu-0.10-7.fc11.x86_64

How reproducible:


Steps to Reproduce:
1. Use a winxp disk image to start qemu-kvm with -vga std or -vga vmware
2. 
3.
  
Actual results:
$ sudo qemu-kvm -vga std -boot c -hda winxp.raw
create_userspace_phys_mem: Invalid argument
kvm_cpu_register_physical_memory: failed


Expected results:



Additional info:
I checked the code. the problem is because of qemu register a vga bios mem region without 4k mem align. If I change the mem align to 4K, qemu-kvm can execute Linux vm with -vga std successfully. But for winxp, I can see the bios screen, but can not boot up winxp successfully.

Comment 1 Mark McLoughlin 2009-04-19 10:32:34 UTC
Thanks - this is a known issue and Glauber is working to get it fixed upstream

*** This bug has been marked as a duplicate of bug 494376 ***

Comment 2 Mark McLoughlin 2009-04-19 10:40:41 UTC
Ah, sorry Peng - I see it was you that started the discussion on qemu-devel with a patch :-)