Re: [PATCH] spapr: Add "memop" hypercall

Benjamin Herrenschmidt
2012-05-31T03:22:24Z

On Mon, 2012-05-28 at 13:40 +0300, Avi Kivity wrote:
> Depends. How do you detect it exists? Are you detecting kvm, or qemu,
> or the hypercall itself?
>
> I'd hate us to find ourselves in a maze of disconnected documentation
> with no clear guidelines on when a feature is available and when it is not.

At the moment SLOF just "uses it" when using the frame buffer. We could
advertise its presence via the device-tree, there's already stuff there
to expose what hypercalls or set of hypecalls are implemented for PAPR,
we could add qemu specific extensions.

Cheers,
Ben.