Windows VM installation failing

the_random_user

New Member
Feb 1, 2020
2
0
1
36
Cannot use "KVM hardware virtualization" when I choose Windows Server type of VM
In error message I got :

Hyper-V paravirtualized IPI (hv-ipi) is not supported by kernel
kvm: kvm_init_vcpu failed: Function not implemented
TASK ERROR: start failed: QEMU exited with code 1

I can install WIndows where I'm choosing Type of VM Linux
 
Could you post the output of the following commands on your PVE host?
Code:
pveversion -v
Code:
lscpu
Code:
cat /sys/module/kvm_intel/parameters/nested
Code:
cat /sys/module/kvm_amd/parameters/nested
Code:
qm config VMID
 
Hello, thx for the replay,

root@XXX:/# pveversion -v


perl: warning: Setting locale failed.


perl: warning: Please check that your locale settings:


LANGUAGE = (unset),


LC_ALL = (unset),


LC_CTYPE = "UTF-8",


LANG = "en_US.UTF-8"


are supported and installed on your system.


perl: warning: Falling back to a fallback locale ("en_US.UTF-8").


proxmox-ve: 6.1-2 (running kernel: 5.3.13-3-pve)


pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)


pve-kernel-5.3: 6.1-3


pve-kernel-helper: 6.1-3


pve-kernel-5.0: 6.0-11


pve-kernel-5.3.13-3-pve: 5.3.13-3


pve-kernel-5.3.13-2-pve: 5.3.13-2


pve-kernel-5.0.21-5-pve: 5.0.21-10


ceph: 14.2.6-pve1


ceph-fuse: 14.2.6-pve1


corosync: 3.0.2-pve4


criu: 3.11-3


glusterfs-client: 5.5-3


ifupdown: 0.8.35+pve1


libjs-extjs: 6.0.1-10


libknet1: 1.13-pve1


libpve-access-control: 6.0-6


libpve-apiclient-perl: 3.0-2


libpve-common-perl: 6.0-11


libpve-guest-common-perl: 3.0-3


libpve-http-server-perl: 3.0-4


libpve-storage-perl: 6.1-4


libqb0: 1.0.5-1


libspice-server1: 0.14.2-4~pve6+1


lvm2: 2.03.02-pve4


lxc-pve: 3.2.1-1


lxcfs: 3.0.3-pve60


novnc-pve: 1.1.0-1


proxmox-mini-journalreader: 1.1-1


proxmox-widget-toolkit: 2.1-3


pve-cluster: 6.1-4


pve-container: 3.0-19


pve-docs: 6.1-4


pve-edk2-firmware: 2.20191127-1


pve-firewall: 4.0-10


pve-firmware: 3.0-4


pve-ha-manager: 3.0-8


pve-i18n: 2.0-4


pve-qemu-kvm: 4.1.1-2


pve-xtermjs: 4.3.0-1


pve-zsync: 2.0-2


qemu-server: 6.1-5


smartmontools: 7.1-pve2


spiceterm: 3.1-1


vncterm: 1.6-1


zfsutils-linux: 0.8.3-pve1


root@XXX:# lscpu


Architecture: x86_64


CPU op-mode(s): 32-bit, 64-bit


Byte Order: Little Endian


Address sizes: 46 bits physical, 48 bits virtual


CPU(s): 48


On-line CPU(s) list: 0-47


Thread(s) per core: 2


Core(s) per socket: 12


Socket(s): 2


NUMA node(s): 2


Vendor ID: GenuineIntel


CPU family: 6


Model: 85


Model name: Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz


Stepping: 4


CPU MHz: 2700.100


CPU max MHz: 3200.0000


CPU min MHz: 1000.0000


BogoMIPS: 4600.00


Virtualization: VT-x


L1d cache: 32K


L1i cache: 32K


L2 cache: 1024K


L3 cache: 16896K


NUMA node0 CPU(s): 0-11,24-35


NUMA node1 CPU(s): 12-23,36-47


Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req pku ospke md_clear flush_l1d


root@XXX:# cat /sys/module/kvm_intel/parameters/nested


N


root@XXX:/home# cat /sys/module/kvm_amd/parameters/nested


cat: /sys/module/kvm_amd/parameters/nested: No such file or directory


root@XXX:/# qm config VMID


bash: qm: command not found
 
It would be great if you could wrap your code snippets like [code]YOUR CODE[/code] :) Did you forget sudo before qm? When have you last rebooted your server? This was a simple fix for some people.
 
It would be great if you could wrap your code snippets like [code]YOUR CODE[/code] :) Did you forget sudo before qm? When have you last rebooted your server? This was a simple fix for some people.
He has not substituted the VMID (which I overlooked as well when I saw this command and used.) Forexample it goes: qemu config 100 (ID of a VM)
 
  • Like
Reactions: Dominic

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!