Re: [KVM PATCH v8 3/3] KVM: add iosignalfd support

Avi Kivity
2009-06-22T14:29:29Z

On 06/22/2009 04:19 PM, Gregory Haskins wrote:
> The question to ask is whether a guest can influence that condition. If
> they can, its an attack vector to crash the host. I suspect they can't,
> however. Therefore, your recommendation is perhaps a good approach so
> this condition cannot ever go unnoticed. Avi?
>

No, this is host memory in the emulator context, allocated as unsigned
long. But this is on x86 which isn't sensitive to alignment anyway.
It's unlikely that other achitectures will supply unaligned pointers.

We ought to convert the interface to pass a value anyway.

--
error compiling committee.c: too many arguments to function