lkml.org 
[lkml]   [2022]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 6/8] KVM: x86: Bug the VM if the emulator accesses a non-existent GPR
On Wed, Jun 01, 2022, Vitaly Kuznetsov wrote:
> > static const struct x86_emulate_ops emulate_ops = {
> > + .vm_bugged = emulator_vm_bugged,
> > .read_gpr = emulator_read_gpr,
> > .write_gpr = emulator_write_gpr,
> > .read_std = emulator_read_std,
>
> Is it actually "vm_bugged" or "kvm_bugged"? :-)

vm_bugged. KVM_BUG_ON() because it's a KVM bug on the condition, but the invididual
VM is what's bugged/dead, i.e. other VMs and thus KVM itself get to live on. :-)

\
 
 \ /
  Last update: 2022-06-02 18:03    [W:0.075 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site