Hi Team,
After upgrading proxmox yesterday to the latest version, 1 windows kvm would not boot. It kept coming with kvm: kernel doesn't allow setting HyperV VP_INDEX.
The only way I could get it to boot was to disable the option of KVM hardware virtualization. Unfortunately by doing that the kvm was too slow, about 20 mins to boot and 15 to be logged in so unusable.
Read around a lot all night and found another option that if added on the config of the actual kvm would allow it to boot with KVM hardware virtualization.
args: -cpu host,hypervisor=off
Here is an example of hefore and after of the same kvm box.
BEFORE
agent: 1
boot: cdn
bootdisk: scsi0
cores: 2
ide0: Datastore:iso/virtio-win-0.1.149.iso,media=cdrom,size=316634K
machine: pc-i440fx-2.6
memory: 10240
name: acme
net0: e1000=xx:xx:xx:xx:xx:xx,bridge=vmbr0,link_down=1
numa: 0
ostype: win8
protection: 1
scsi0: Datastore:10001/vm-10001-disk-0.qcow2,discard=on,size=100G
scsi1: Datastore:10001/vm-10001-disk-1.qcow2,discard=on,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=8beaa325-e75a-4793-9397-4d89f6952ddb
sockets: 2
startup: order=1,up=100,down=100
vga: qxl
AFTER
agent: 1
args: -cpu host,hypervisor=off
boot: cdn
bootdisk: scsi0
cores: 2
ide0: Datastore:iso/virtio-win-0.1.149.iso,media=cdrom,size=316634K
machine: pc-i440fx-2.6
memory: 10240
name: acme
net0: e1000=xx:xx:xx:xx:xx:xx,bridge=vmbr0,link_down=1
numa: 0
ostype: win8
protection: 1
scsi0: Datastore:10001/vm-10001-disk-0.qcow2,discard=on,size=100G
scsi1: Datastore:10001/vm-10001-disk-1.qcow2,discard=on,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=8beaa325-e75a-4793-9397-4d89f6952ddb
sockets: 2
startup: order=1,up=100,down=100
vga: qxl
That did make my live very hard yesterday and all night but hope it will help someone else
Rajbps
After upgrading proxmox yesterday to the latest version, 1 windows kvm would not boot. It kept coming with kvm: kernel doesn't allow setting HyperV VP_INDEX.
The only way I could get it to boot was to disable the option of KVM hardware virtualization. Unfortunately by doing that the kvm was too slow, about 20 mins to boot and 15 to be logged in so unusable.
Read around a lot all night and found another option that if added on the config of the actual kvm would allow it to boot with KVM hardware virtualization.
args: -cpu host,hypervisor=off
Here is an example of hefore and after of the same kvm box.
BEFORE
agent: 1
boot: cdn
bootdisk: scsi0
cores: 2
ide0: Datastore:iso/virtio-win-0.1.149.iso,media=cdrom,size=316634K
machine: pc-i440fx-2.6
memory: 10240
name: acme
net0: e1000=xx:xx:xx:xx:xx:xx,bridge=vmbr0,link_down=1
numa: 0
ostype: win8
protection: 1
scsi0: Datastore:10001/vm-10001-disk-0.qcow2,discard=on,size=100G
scsi1: Datastore:10001/vm-10001-disk-1.qcow2,discard=on,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=8beaa325-e75a-4793-9397-4d89f6952ddb
sockets: 2
startup: order=1,up=100,down=100
vga: qxl
AFTER
agent: 1
args: -cpu host,hypervisor=off
boot: cdn
bootdisk: scsi0
cores: 2
ide0: Datastore:iso/virtio-win-0.1.149.iso,media=cdrom,size=316634K
machine: pc-i440fx-2.6
memory: 10240
name: acme
net0: e1000=xx:xx:xx:xx:xx:xx,bridge=vmbr0,link_down=1
numa: 0
ostype: win8
protection: 1
scsi0: Datastore:10001/vm-10001-disk-0.qcow2,discard=on,size=100G
scsi1: Datastore:10001/vm-10001-disk-1.qcow2,discard=on,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=8beaa325-e75a-4793-9397-4d89f6952ddb
sockets: 2
startup: order=1,up=100,down=100
vga: qxl
That did make my live very hard yesterday and all night but hope it will help someone else
Rajbps