error when using qemu with host cpu option

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
kmanthezu
Posts: 56
Joined: Mon Mar 20, 2017 3:52 pm

error when using qemu with host cpu option

Post by kmanthezu » Thu Nov 02, 2017 7:29 pm

ver 84
32gb ram
16 proc
120gb hd
!
I have an image in order for it to run encryption as a virtual device it has to have access to the host cpu. since adding the settings I have noticed the following log messages
'Nov 2 21:19:25 eve-ng kernel: [ 492.572922] kvm [11698]: vcpu0, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:25 eve-ng kernel: [ 492.573450] kvm [11698]: vcpu1, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:25 eve-ng kernel: [ 492.586264] kvm [11698]: vcpu0, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:25 eve-ng kernel: [ 492.586775] kvm [11698]: vcpu1, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:26 eve-ng kernel: [ 493.279190] kvm: zapping shadow pages for mmio generation wraparound
Nov 2 21:19:26 eve-ng kernel: [ 493.368858] kvm: zapping shadow pages for mmio generation wraparound
Nov 2 21:19:35 eve-ng kernel: [ 501.807918] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x1c9
Nov 2 21:19:35 eve-ng kernel: [ 501.808429] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x1a6
Nov 2 21:19:35 eve-ng kernel: [ 501.808830] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x1a7
Nov 2 21:19:35 eve-ng kernel: [ 501.809432] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x3f6
Nov 2 21:19:36 eve-ng kernel: [ 502.738058] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x606
Nov 2 21:19:36 eve-ng kernel: [ 502.738531] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x606
root@eve-ng:/var/log#

it lass for a few during boot up but i don't see it after

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: error when using qemu with host cpu option

Post by ramindia » Thu Nov 02, 2017 7:50 pm

kmanthezu wrote:
Thu Nov 02, 2017 7:29 pm
ver 84
32gb ram
16 proc
120gb hd
!
I have an image in order for it to run encryption as a virtual device it has to have access to the host cpu. since adding the settings I have noticed the following log messages
'Nov 2 21:19:25 eve-ng kernel: [ 492.572922] kvm [11698]: vcpu0, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:25 eve-ng kernel: [ 492.573450] kvm [11698]: vcpu1, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:25 eve-ng kernel: [ 492.586264] kvm [11698]: vcpu0, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:25 eve-ng kernel: [ 492.586775] kvm [11698]: vcpu1, guest rIP: 0xfff0 unhandled wrmsr: 0x38d data 0x0
Nov 2 21:19:26 eve-ng kernel: [ 493.279190] kvm: zapping shadow pages for mmio generation wraparound
Nov 2 21:19:26 eve-ng kernel: [ 493.368858] kvm: zapping shadow pages for mmio generation wraparound
Nov 2 21:19:35 eve-ng kernel: [ 501.807918] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x1c9
Nov 2 21:19:35 eve-ng kernel: [ 501.808429] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x1a6
Nov 2 21:19:35 eve-ng kernel: [ 501.808830] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x1a7
Nov 2 21:19:35 eve-ng kernel: [ 501.809432] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x3f6
Nov 2 21:19:36 eve-ng kernel: [ 502.738058] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x606
Nov 2 21:19:36 eve-ng kernel: [ 502.738531] kvm [11698]: vcpu0, guest rIP: 0xffffffff81037052 unhandled rdmsr: 0x606
root@eve-ng:/var/log#

it lass for a few during boot up but i don't see it after
is your lab working, or you have any issue running labs ?

R!

kmanthezu
Posts: 56
Joined: Mon Mar 20, 2017 3:52 pm

Re: error when using qemu with host cpu option

Post by kmanthezu » Thu Nov 02, 2017 8:47 pm

from what i can tell so far it looks to be working, going to keep turning the features on as i need them and see how it goes

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: error when using qemu with host cpu option

Post by ecze » Fri Nov 03, 2017 7:41 am

Those messages are normal.

kvm module ( hw acceleration try some CPU instruction to inform VM into qemu process. So when it is unhandled, VM knows which instruction is not supported )

E.

kmanthezu
Posts: 56
Joined: Mon Mar 20, 2017 3:52 pm

Re: error when using qemu with host cpu option

Post by kmanthezu » Fri Nov 03, 2017 1:08 pm

ecze wrote:
Fri Nov 03, 2017 7:41 am
Those messages are normal.

kvm module ( hw acceleration try some CPU instruction to inform VM into qemu process. So when it is unhandled, VM knows which instruction is not supported )

E.
not sure how to go about that offhand but i will hunt google for instructions

Post Reply