RE: [PATCH 09/19] kvm: x86: Prepare reallocation check

Tian, Kevin
2021-12-14T07:06:46Z

> From: Paolo Bonzini
> Sent: Monday, December 13, 2021 5:16 PM
>
>
> - if (dynamic_enabled & ~guest_fpu->user_perm) != 0, then this is a
> userspace error and you can #GP the guest without any issue. Userspace
> is buggy
>

Is it a general guideline that an error caused by emulation itself (e.g.
due to no memory) can be reflected into the guest as #GP, even
when from guest p.o.v there is nothing wrong with its setting?

Thanks
Kevin