You are not logged in.
https://www.kernel.org/doc/Documentation/sysrq.txt
I've not tried this yet, but I plan to.
I had sysrq enabled all time but does nothing at crash time
Offline
I get this errors
vfio-pci 0000:0a:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
[ 1561.682642] vfio-pci 0000:0a:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
[ 1561.728758] xenbr1: port 2(vnet0) entered disabled state
0a:00.0 0104: 103c:323b (rev 01)
Subsystem: 103c:3352
Physical Slot: 2
Flags: fast devsel, IRQ 53
Memory at fbe00000 (64-bit, non-prefetchable) [size=1M]
Memory at fbdf0000 (64-bit, non-prefetchable) [size=1K]
I/O ports at 5000 [size=256]
[virtual] Expansion ROM at fbd00000 [disabled] [size=512K]
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable- Count=1/32 Maskable+ 64bit+
Capabilities: [b0] MSI-X: Enable- Count=64 Masked-
Capabilities: [c0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [300] #19
Kernel driver in use: vfio-pci
Kernel modules: hpsa
Offline
I get this errors
vfio-pci 0000:0a:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. [ 1561.682642] vfio-pci 0000:0a:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. [ 1561.728758] xenbr1: port 2(vnet0) entered disabled state
Yep, that's the problem we're talking about. Since this is a Smart Array controller, you're basically out of luck as I don't think HP is going to be able to provide you with a firmware update that disables RMRRs. The problem is that the raid controller and the platform management controller communicate via back-channel DMA defined by RMRRs. That carves out a region or IOVA space for the device that's incompatible with PCI device assignment. We can neither ignore it nor support it and its existence implies a lack of isolation between the raid controller and the management controller.
The other question is why do you want to do this? Block devices are generally not as latency sensitive as network devices and direct assignment has diminishing returns. A virtio block devices is likely to provide nearly native performance for the guest.
http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses? Try https://www.redhat.com/mailman/listinfo/vfio-users
Offline
Hello,
First thanks for this great guide.
I'm testing (in Fedora 21) with a Tyan S7025 board and a GT610 card, and usb passthrough works once the install process begin, but the keyboard and mouse don't work before, so if I press F12 nothing happens and also can not select an option in the grub menu....How can I solve this?
Thank you
Last edited by chinaski (2015-03-26 19:20:01)
Offline
Hello,
First thanks for this great guide.
I'm testing (in Fedora 21) with a Tyan S7025 board and a GT610 card, and usb passthrough works once the install process begin, but the keyboard and mouse don't work before, so if I press F12 nothing happens and also can not select an option in the grub menu....How can I solve this?
Thank you
If you're doing just qemu commandline, i suggest you adding -device qxl just for input purposes. Also, there's a way to set up VNC connection. Maybe spice too, but i don't know for sure.
If you're doing libvirt way - you should have either spice or VNC graphics doing your input.
The forum rules prohibit requesting support for distributions other than arch.
I gave up. It was too late.
What I was trying to do.
The reference about VFIO and KVM VGA passthrough.
Offline
chinaski wrote:Hello,
First thanks for this great guide.
I'm testing (in Fedora 21) with a Tyan S7025 board and a GT610 card, and usb passthrough works once the install process begin, but the keyboard and mouse don't work before, so if I press F12 nothing happens and also can not select an option in the grub menu....How can I solve this?
Thank you
If you're doing just qemu commandline, i suggest you adding -device qxl just for input purposes. Also, there's a way to set up VNC connection. Maybe spice too, but i don't know for sure.
If you're doing libvirt way - you should have either spice or VNC graphics doing your input.
Thank you,
I'm using qemu commandline and tried adding a pci card with two usb3.0 ports. I could make it work and select f12 in bootmenu but only once, at second reboot of the host I got this now:
[ 161.148722] dmar: DRHD: handling fault status reg 2
[ 161.148731] dmar: DMAR:[DMA Read] Request device [0c:00.0] fault addr ee000
DMAR:[fault reason 06] PTE Read access is not set
0c:00.0 is the usb card
Strange, but only worked once Im using the vm (windows or linux). I have also tried change the card from pci slot with same result.
Offline
First, just for installing & then booting a Win7 or Windows 2008 R2 guest, please refer to the following sections in the whitepaper:
Supported guest operating systems | Notes about Windows Server 2008 R2
Compatibility Support Module (CSM)
-- strictly as background material only, you do not need to do anything with this
Select features | Video driver
Windows 2008 R2 is a UEFI system "in general", it's just its stock (default) video driver that has this inconvenient dependency on Int10h. So, OVMF (the "pure" build, no CSM) fakes an Int10h handler for just this OS, which is pretty raw, but enough for the user to install the guest, and then to update / install "real" video drivers that do not have this Int10h dependency (and then other resolutions and S3 etc become available.)
In short,
You should create a virtual machine with two video adapters. The first should be QXL, the second should be your passthru GPU. Use the "pure UEFI" build of OVMF from Gerd's package.
QXL will allow you to install Win7 / Win2008R2 in 1024x768x32.
Update the guest's video driver for the QXL card from the stock windows driver (which OVMF fools, with regard to Int10h, see the material above) to the real QXL XDDM driver. Look at http://www.spice-space.org/download.html , under Guest | Windows binaries.
Install the driver for your secondary (passthru) GPU.
Potentially mark the secondary (passthru) GPU as primary desktop provider.
Admittedly, I did not test the "GPU passthru" part with Windows 2008 R2 (only with Windows Server 2012 R2), but the OS installation I definitely tested, and I don't see any reason why GPU passthrough (and the dual display) should not work.
Finally, an unrelated, but nonetheless important point -- I recommend that everyone use libvirt. It supports OVMF very nicely. Please refer to the following section in the whitepaper:
Installation of OVMF guests with virt-manager and virt-install
.
Hi and thanks for posting!
This may be an unrelated issue, but when I use -device qxl-vga my entire screen, other workspaces and even my console gets mangled by the color monster (16 colors maybe?). Using i3-wm.
Offline
Ohh this is bad, long story short:
I had to build a serial cable from scratch because the motherboard serial conector was not the same pinout as the cable I bough (cable fault), install linux on a Pentium 3 box and configure to dump the console from serial
There is the log:
[ 2987.618210] PANIC: double fault, error_code: 0x0
[ 2987.619023] CPU: 10 PID: 2591 Comm: qemu-system-x86 Tainted: P O 4.0.0-1-mainline #12
[ 2987.619023] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X99 Extreme6, BIOS L1.74 02/02/2015
[ 2987.619023] task: ffff8804813b14c0 ti: ffff88048107c000 task.ti: ffff88048107c000
[ 2987.619023] RIP: 0010:[<ffffffff8158460d>] [<ffffffff8158460d>] page_fault+0xd/0x30
[ 2987.619023] RSP: 0018:00007f3bd1ff8f88 EFLAGS: 00010016
[ 2987.619023] RAX: 000000000000b940 RBX: 0000000000000000 RCX: ffffffff81583277
[ 2987.619023] RDX: 000000000000b940 RSI: 0000000000000000 RDI: 00007f3bd1ff90c8
[ 2987.619023] RBP: 00007f3bd1ff9088 R08: 00007f3beeccb380 R09: 0000000000000000
[ 2987.619023] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000b940
[ 2987.619023] R13: 00007f3bd1ff90c8 R14: 0000000000000000 R15: 00007f3bee80a1c0
[ 2987.619023] FS: 00007f3bd1ffb700(0000) GS:ffff88049fd40000(0000) knlGS:0000000000000000
[ 2987.619023] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2987.619023] CR2: 00007f3bd1ff8f78 CR3: 00000004813d4000 CR4: 00000000001427e0
[ 2987.619023] Stack:
[ 2987.619023] BUG: unable to handle kernel paging request at 00007f3bd1ff8f88
[ 2987.619023] IP: [<ffffffff81018a73>] show_stack_log_lvl+0xf3/0x1b0
[ 2987.619023] PGD 48a3c7067 PUD 489c50067 PMD 48b961067 PTE 0
[ 2987.619023] Oops: 0000 [#1] PREEMPT SMP
[ 2987.619023] Modules linked in: tun mousedev hid_logitech_hidpp hid_logitech_dj arc4 ecb md4 md5 hmac nls_utf8 cifs dns_resolver ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bridge stp llc cfg80211 gspca_zc3xx gspca_main videodev rfkill media coretemp hwmon snd_hda_codec_hdmi intel_rapl snd_hda_codec_realtek iosf_mbi x86_pkg_temp_thermal snd_hda_codec_generic intel_powerclamp nls_iso8859_1 nls_cp437 kvm_intel vfat nvidia(PO) snd_usb_audio kvm snd_hda_intel snd_hda_controller fuse iTCO_wdt crct10dif_pclmul mxm_wmi iTCO_vendor_support fat crc32_pclmul snd_hda_codec snd_usbmidi_lib crc32c_intel ghash_clmulni_intel e1000e snd_rawmidi aesni_intel snd_hwdep snd_seq_device evdev drm aes_x86_64 mei_me snd_pcm lrw gf128mul snd_timer mac_hid r8169 glue_helper snd sb_edac ablk_helper i2c_i801 mii cryptd ptp tpm_tis pcspkr serio_raw edac_core mei i2c_core lpc_ich soundcore shpchp tpm pps_core wmi processor button sch_fq_codel nfs lockd grace sunrpc fscache ext4 crc16 mbcache jbd2 hid_generic sr_mod cdrom uas usb_storage sd_mod usbhid hid atkbd libps2 ahci libahci libata scsi_mod xhci_pci xhci_hcd usbcore usb_common i8042 serio
[ 2987.619023] CPU: 10 PID: 2591 Comm: qemu-system-x86 Tainted: P O 4.0.0-1-mainline #12
[ 2987.619023] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X99 Extreme6, BIOS L1.74 02/02/2015
[ 2987.619023] task: ffff8804813b14c0 ti: ffff88048107c000 task.ti: ffff88048107c000
[ 2987.619023] RIP: 0010:[<ffffffff81018a73>] [<ffffffff81018a73>] show_stack_log_lvl+0xf3/0x1b0
[ 2987.619023] RSP: 0018:ffff88049fd44e38 EFLAGS: 00010046
[ 2987.619023] RAX: 000000000000000c RBX: 0000000000000000 RCX: ffff88049fd43fc0
[ 2987.619023] RDX: 00007f3bd1ff8f88 RSI: ffffffff817f02bc RDI: ffffffff817ff1c0
[ 2987.619023] RBP: ffff88049fd44e98 R08: ffff88049fd3ffc0 R09: 00000000000008a7
[ 2987.619023] R10: 0000000000000000 R11: 00000000000008a7 R12: ffff88049fd44f58
[ 2987.619023] R13: 0000000000000000 R14: ffffffff817c9406 R15: 0000000000000000
[ 2987.619023] FS: 00007f3bd1ffb700(0000) GS:ffff88049fd40000(0000) knlGS:0000000000000000
[ 2987.619023] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2987.619023] CR2: 00007f3bd1ff8f88 CR3: 00000004813d4000 CR4: 00000000001427e0
[ 2987.619023] Stack:
[ 2987.619023] ffff88049fd44e98 ffffffff8157c000 0000000000000008 ffff88049fd44ea8
[ 2987.619023] ffff88049fd44e68 00007f3bd1ff8f88 ffff88048107c000 ffff88049fd44f58
[ 2987.619023] 00007f3bd1ff8f88 0000000000000040 0000000000000000 00007f3bee80a1c0
[ 2987.619023] Call Trace:
[ 2987.619023] <#DF>
[ 2987.619023] [<ffffffff8157c000>] ? printk+0x55/0x6b
[ 2987.619023] [<ffffffff81018bba>] show_regs+0x8a/0x250
[ 2987.619023] [<ffffffff81059007>] df_debug+0x27/0x40
[ 2987.619023] [<ffffffff810170b7>] do_double_fault+0x87/0x100
[ 2987.619023] [<ffffffff81584048>] double_fault+0x28/0x30
[ 2987.619023] [<ffffffff81583277>] ? native_iret+0x7/0x7
[ 2987.619023] [<ffffffff8158460d>] ? page_fault+0xd/0x30
[ 2987.619023] <<EOE>>
[ 2987.619023] <UNK> Code: 90 06 00 00 48 89 55 c8 eb 88 66 0f 1f 44 00 00 e8 24 84 2b 00 eb af 48 39 ca 0f 84 90 00 00 00 45 85 ff 74 06 41 f6 c7 03 74 5a <48> 8b 32 48 8d 42 08 4c 89 45 b0 41 83 c7 01 48 89 45 c0 48 c7
[ 2987.619023] RIP [<ffffffff81018a73>] show_stack_log_lvl+0xf3/0x1b0
[ 2987.619023] RSP <ffff88049fd44e38>
[ 2987.619023] CR2: 00007f3bd1ff8f88
Offline
How did you get Win7 to even load with more than 1 CPU with EFI boot?
I'll just follow up on this part -- the rest of your comment has been addressed already, but this is indeed a different issue.
If you want Win7 + OVMF + multiple VCPUs, then you have to turn off HYPER-V features. References:
Offline
lersek wrote:After that you'll probably want something more than just 1 resolution, 1024x768x32. Normally that "more" means the QXL XDDM driver, but in this case, the passthru GPU and its drivers are just as fine, for "more".
HA! I've tried setting up windows 8 on a hardware UEFI platform, and i burst out laughing when..
(I understand that you connected the above two just for comical effect, but lest we confuse others, let's point out that the quote from me relates to Windows 7 / Windows Server 2008 R2. The QXL XDDM driver which I referenced is also for Windows 7 / Windows Server 2008 R2 exclusively. (Windows 8 has a revisited driver model called WDDM, hence the QXL guest driver for Windows 8 is called "QXL WDDM".) So, beyond the ironic association between the above two, ie. the limited graphics resolution, there's no actual technical connection. Anyway, I digress...)
1.It boots into 1024x768x32.
2.I try to download drivers(or, at least, a browser), starting Internet exploder..
3.And it says "Screen resolution is too small, internet will not be exploded for today"
4.No drivers - no resolution change.
5.No resolution change - no drivers.So you've got to have some CD with drivers when you try installing windows 8 or some other UEFI-compatible windowns. Or you can't download drivers.
I understand that this Windows 8 installation targeted a hardware UEFI platform, but the moral you've drawn from the experience doesn't equally apply to Windows 8 on OVMF (and it also may not apply to other hardware UEFI platforms). Namely, if you can convince your firmware to switch to a higher GOP resolution before it boots Windows 8, then Windows 8 will "inherit" that higher resolution, and it will just use the linear framebuffer like that. It won't be accelerated or anything, but a high resolution may certainly be available.
And OVMF happens to support this. Just use QXL, give it enough video RAM (the default video RAM size should be fine for most users), and then go to Device Manager | OVMF Platform Configuration in the firmware. Select your preferred resolution, and reboot. (You can reboot for example under Boot Maintenance Manager | Reset System.) On next boot, the setup TUI resolution won't change, but the OVMF splash screen and the guest OS's inherited resolution should reflect your preference. Then you can start Internet Explorer, and type the magical first URL into its URL bar. (Which is getfirefox.com, obviously :))
This is documented in the whitepaper under: (a) "Notes about Windows Server 2012 and Windows 8", and (b) "Platform Driver".
Offline
I am running into issue where efi-e1000.rom is not found. Ho to tell libvirt proper location ? I have the files in /usr/share/qemu
The efi-e1000.rom file should come from the qemu installation (qemu bundles some iPXE binaries), and should reside under a path that qemu automatically finds.
That said, you won't have much luck netbooting VMs with iPXE oproms under OVMF at the moment. Please see the following messages / threads:
My personal opinion is that you should
either apply those two patches to iPXE and rebuild the oproms (hard),
or set the NIC model of your VM to virtio-net, and disable the external oprom for the NIC (easy).
You can disable oprom loading in QEMU with
-device virtio-net-pci,netdev=...,romfile=
(yes, the equal sign is the last character of the option). The same can be done in the libvirt domain XML with
<interface type='network'>
<model type='virtio'/>
<rom file=''/>
</interface>
This will cause QEMU not to load the iPXE oprom into the virtio-net NIC, which in turn will allow OVMF's builtin virtio-net driver to bind the NIC. (This is documented in OvmfPkg/README.) Then PXE boot should "just work", assuming you have an otherwise correct PXE / DHCP setup on the guest's network.
(If you're interested, please refer to bug 1181980 in the RH bugzilla, and its duplicates.)
This method does necessitate installing the virtio-net driver in the guest OS as well, but that shouldn't be a problem.
Offline
Hi Forum,
This is my first posting and before I get to the purpose of itself I sadly have to start with an excuse
I've tried for the last ~30 hours to get this configuration working and I failed terrible ... Even thogh I've read and kept reading, I'm at a point where all is messed up in my head. The questions I'm asking are probably most, if not all answered in this monster of a thread, but where is the function to search through it? Either I'm blind, or I have a reason to feel as stupid as I do right now
My Hardware in use:
Asus Sabertooth Z87
Intel I7 4770K
Intel HD4600 IGM (For the Arch host)
Nvidia GTX 970 (For the Windows guest)
16GB RAM
Intel PRO/1000 PT (82571EB) Dualport
Yesterday I failed at the vfio point with some Error -22 stating the recource could not be found, but I'm not even sure anymore what I actually need ... and thats why I'm here:
Even though I think my Hardware is sufficient. Are the components able to run this configuration?
What patches, modules and settings vor qemu do I really need on my system with the stated HW?
Do I have to install both vfio and ovmf?
Those are prob. dumb questions, I know. I'm desperate!
Best regards,
Beer Belly
P.S. I almost forgot the most Important Part: Thank you for creating this Guide and all your contributed time!
P.P.S. After going outside for a smoke to clear my head a little I think I've found the wall I'm banging my head against ... the i74770K only supports VT-x, not VT-d?!
Pls correct me if I'm wrong...
Last edited by bierbauch (2015-03-29 12:47:20)
Offline
Pls delete this Posting!
Last edited by bierbauch (2015-03-29 12:45:32)
Offline
P.P.S. After going outside for a smoke to clear my head a little I think I've found the wall I'm banging my head against ... the i74770K only supports VT-x, not VT-d?!
Pls correct me if I'm wrong...
Correct, your CPU isn't going to work, no VT-d - http://ark.intel.com/products/75123/Int … o-3_90-GHz
http://vfio.blogspot.com
Looking for a more open forum to discuss vfio related uses? Try https://www.redhat.com/mailman/listinfo/vfio-users
Offline
Thx for the verification mate,
Just checked my "closet" and only found a E3 1220L which is most likely nothing i want to use in this scenario :'(.
I guess I'll buy myself a 4790k then ...
Offline
Hi again,
currently I'm trying to create a windows 7 UEFI VM. Unfortunately the installation process seems to hang at the very beginning when the screen only shows "Starting Windows".
I think the installation image should be okay, since I successfully used it for a seabios windows 7 vm.
Can someone can give me some hint, what could go wrong?
My quemu script looks as follows (no q35! ):
taskset 0x0000003F \
qemu-system-x86_64 \
-name win7uefi \
-enable-kvm \
-cpu host,kvm=off \
-smp 6,sockets=1,cores=3,threads=2 \
-m 4096 \
-mem-path /dev/hugepages \
-mem-prealloc \
-balloon none \
-k de \
-drive if=pflash,format=raw,readonly,file=ovmf/ovmf_code_x64.bin \
-drive if=pflash,format=raw,file=ovmf/ovmf_vars_x64.bin \
-device vfio-pci,host=01:00.0 \
-device vfio-pci,host=01:00.1 \
-vga none \
-device virtio-scsi-pci,id=scsi \
-drive file=vmdata/win7uefi.img,id=disk,format=raw,if=none -device scsi-hd,drive=disk \
-drive file=vmdata/de_win_7_prosp1_x64.iso,id=isocd,if=none -device scsi-cd,drive=isocd \
-drive file=vmdata/virtio_drv.iso,id=virtiocd,if=none -device ide-cd,bus=ide.1,drive=virtiocd \
-spice port=5930,disable-ticketing \
-device virtio-serial-pci \
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
-chardev spicevmc,id=spicechannel0,name=vdagent \
-rtc base=utc
Thanks in advance!
Last edited by apex8 (2015-03-29 16:50:21)
Offline
-device vfio-pci,host=01:00.0 \ -device vfio-pci,host=01:00.1 \ -vga none \
Thanks in advance!
Read back a few pages (181 i think), you need to first install the OS on the normal vga qxl without the gpu being used. then install the qxl driver, then poweroff and add the gpu with vfio-pci.
PS I didnt need -vga none, that actually breaks my screen. I just dont use a -vga setting at all.
Offline
Thanks Naruni, I can process the installation now. Maybe this hint about QXL is worth to added on the first post?
Offline
Hello,
I finally got everything to work, however I'm running into a small issue : for some reason, the screen resolution is somewhat borked on my VM. While it's still in the BIOS, it's "true" 1920x1080, takes up my whole screen, as it should. However, once it boots onto Windows 8, for some reason, the screen shrinks (I end up with black bars on all 4 sides of the VM screen, I guess around an inch wide). Under W8 the resolution is marked as 1920x1080. Drivers are installed for my card as well.
I've looked it up but found nothing on this, did anyone else here run into that particular issue?
Offline
Thanks Naruni, I can process the installation now. Maybe this hint about QXL is worth to added on the first post?
It's documented in the OVMF whitepaper linked on the OP
Offline
Hello,
I finally got everything to work, however I'm running into a small issue : for some reason, the screen resolution is somewhat borked on my VM. While it's still in the BIOS, it's "true" 1920x1080, takes up my whole screen, as it should. However, once it boots onto Windows 8, for some reason, the screen shrinks (I end up with black bars on all 4 sides of the VM screen, I guess around an inch wide). Under W8 the resolution is marked as 1920x1080. Drivers are installed for my card as well.
I've looked it up but found nothing on this, did anyone else here run into that particular issue?
I've seen this... on a hardware platform with win7 and win8 both. That hardware platform didn't even support UEFI at all!
I was using AMD HD7750 GPU on 27" fullhd screen, it was 1920x1080 and it was pixel-perfect, BUT there were black stripes all around.
Try bothering the driver's configuration panel and screen's menu. I seriously have no idea why this happens.
Maybe the screen has some weird PPI?
The forum rules prohibit requesting support for distributions other than arch.
I gave up. It was too late.
What I was trying to do.
The reference about VFIO and KVM VGA passthrough.
Offline
bierbauch wrote:P.P.S. After going outside for a smoke to clear my head a little I think I've found the wall I'm banging my head against ... the i74770K only supports VT-x, not VT-d?!
Pls correct me if I'm wrong...Correct, your CPU isn't going to work, no VT-d - http://ark.intel.com/products/75123/Int … o-3_90-GHz
You know what's hilarious?
4770 supports vt-d.
4770S supports vt-d
4770HD supports vt-d
4770R supports vt-d
4770T supports vt-d
Same thing with 3770 series, only 3770K doesn't support vt-d.
Moreover, there's Xeons with vt-d based on 4770 series.
Unlocked multiplier? More like disabled VT-d.
The forum rules prohibit requesting support for distributions other than arch.
I gave up. It was too late.
What I was trying to do.
The reference about VFIO and KVM VGA passthrough.
Offline
Haswell-E has overclock and VT-D support, for example the 5820K Im using
Offline
Here's an interesting thing. I ran the ovmf script from page 1 with the edk2.git ovmf from lersek's initial post p180-1? for win7 + Uefi + ovmf. Turns out that it works with 440fx ( with qxl and removing the hyper-v stuff) but hangs with a black screen with q35. I've had a working q35 and 440fx using the seabios/x-vga non uefi setup. I'm passing a quadro k2000. The other weird thing is that although I put -smp 6, the 440fx/ovmf/Uefi version reports only two processors. I'd rather use q35 because some usb devices only work with q35 and not with 440fx, eg thumb drives.
Offline
Here's an interesting thing. I ran the ovmf script from page 1 with the edk2.git ovmf from lersek's initial post p180-1? for win7 + Uefi + ovmf. Turns out that it works with 440fx ( with qxl and removing the hyper-v stuff) but hangs with a black screen with q35. I've had a working q35 and 440fx using the seabios/x-vga non uefi setup. I'm passing a quadro k2000. The other weird thing is that although I put -smp 6, the 440fx/ovmf/Uefi version reports only two processors. I'd rather use q35 because some usb devices only work with q35 and not with 440fx, eg thumb drives.
Try using -device nec-usb-xhci for usb
Offline