|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v2 30/50] target/i386: Assert !SVME for user-only |
Date: | Tue, 18 May 2021 11:51:07 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 14/05/21 17:13, Richard Henderson wrote:
Most of the VMM instructions are already disabled for user-only, by being usable only from ring 0. The spec is intentionally loose for VMMCALL, allowing the VMM to define syscalls for user-only. However, linux does not do so; VMMCALL is illegal.
Perhaps:However we're not emulating any VMM, so VMMCALL can just raise #UD unconditionally.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |