qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with -M microvm on Windows 10 host


From: Anders Pitman
Subject: Trouble with -M microvm on Windows 10 host
Date: Mon, 18 Apr 2022 10:24:20 -0600
User-agent: Cyrus-JMAP/3.7.0-alpha0-387-g7ea99c4045-fm-20220413.002-g7ea99c40

Following these instructions: https://qemu.readthedocs.io/en/latest/system/i386/microvm.html

I have -M microvm working great from my Linux host. However, I haven't been able to figure out how to get it to run on Windows 10 hosts yet. I'll paste the output below. From what I can gather, it might have something to do with the TSC. I read up on TSC, PIT, and PIC, but no luck.

Here's what I'm running with:

qemu-system-x86_64.exe -nographic -kernel bzImage -initrd rootfs.cpio.gz -nodefaults -no-user-config -serial mon:stdio -append "console=ttyS0" -M microvm -accel whpx

And here's the output, after which the guest hangs:

WHPX: setting APIC emulation mode in the hypervisor
Windows Hypervisor Platform accelerator is operational
←c←[?7l←[2J←[0mSeaBIOS (version rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org)
Booting from ROM...
←c←[?7l←[2JLinux version 5.15.18 (anders@hostname) (x86_64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.02) 10.3.0, GNU ld (GNU Binutils) 2.36.1) #2 SMP Thu Apr 14 13:32:52 MDT 2022
Command line: console=ttyS0
x86/fpu: x87 FPU will use FXSAVE
signal: max sigframe size: 1040
BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x0000000007ffefff] usable
BIOS-e820: [mem 0x0000000007fff000-0x0000000007ffffff] reserved
BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
NX (Execute Disable) protection: active
SMBIOS 2.4 present.
DMI: Bochs Bochs, BIOS Bochs 01/01/2011
tsc: Fast TSC calibration failed
last_pfn = 0x7fff max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
found SMP MP-table at [mem 0x000f4c50-0x000f4c5f]
RAMDISK: [mem 0x07b99000-0x07feffff]
ACPI: Early table checksum verification disabled
ACPI: RSDP 0x00000000000F4AF0 000024 (v02 BOCHS )
ACPI: XSDT 0x0000000007FFFFAE 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)
ACPI: FACP 0x0000000007FFFE50 00010C (v05 BOCHS BXPC 00000001 BXPC 00000001)
ACPI: DSDT 0x0000000007FFFD00 000150 (v02 BOCHS BXPC 00000001 BXPC 00000001)
ACPI: APIC 0x0000000007FFFF5C 000052 (v01 BOCHS BXPC 00000001 BXPC 00000001)
ACPI: Reserving FACP table memory at [mem 0x7fffe50-0x7ffff5b]
ACPI: Reserving DSDT table memory at [mem 0x7fffd00-0x7fffe4f]
ACPI: Reserving APIC table memory at [mem 0x7ffff5c-0x7ffffad]
Zone ranges:
DMA [mem 0x0000000000001000-0x0000000000ffffff]
DMA32 [mem 0x0000000001000000-0x0000000007ffefff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000001000-0x000000000009efff]
node 0: [mem 0x0000000000100000-0x0000000007ffefff]
Initmem setup node 0 [mem 0x0000000000001000-0x0000000007ffefff]
On node 0, zone DMA: 1 pages in unavailable ranges
On node 0, zone DMA: 97 pages in unavailable ranges
On node 0, zone DMA32: 1 pages in unavailable ranges
ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
IOAPIC[1]: apic_id 1, version 32, address 0xfec10000, GSI 24-47
ACPI: Using ACPI (MADT) for SMP configuration information
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[mem 0x08000000-0xfffbffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
percpu: Embedded 42 pages/cpu s134296 r8192 d29544 u2097152
Built 1 zonelists, mobility grouping on. Total pages: 31999
Kernel command line: console=ttyS0
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 104384K/130676K available (10243K kernel code, 915K rwdata, 1796K rodata, 984K init, 2100K bss, 26032K reserved, 0K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
rcu: Hierarchical RCU implementation.
rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS: 4352, nr_irqs: 56, preallocated irqs: 0
Console: colour *CGA 80x25
printk: console [ttyS0] enabled
ACPI: Core revision 20210730
APIC: Switch to symmetric I/O mode setup
tsc: Unable to calibrate against PIT
tsc: No reference (HPET/PMTIMER) available
tsc: Marking TSC unstable due to could not calculate TSC khz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]