On Wed Oct 1, 2025 at 10:01 PM CEST, Milan Djokic wrote:
> Signed-off-by: Milan Djokic <[email protected]>
>
> ---
> XEN_DOMCTL_get_address_size hypercall is not implemented for arm (only for 
> x86)
> It would be useful to have this hypercall supported for arm64, in order to get
> current guest addressing mode

Why is this helpful? You're racing against the guest transitioning between 32
and 64 bits, so the result is stale by the time you read it.

Do you care about the instantanerous bitness of the vCPU or whether you
created a 32 or 64 bit guest?

> and also to verify that XEN_DOMCTL_set_address_size
> performs switch to target addressing mode (instead of relying on its returned 
> error code only).

You can't use that in HVM. Even if you could, why would you? What's the ultimate
goal?

Cheers,
Alejandro

Reply via email to