• A
    KVM: PPC: Add get_pvinfo interface to query hypercall instructions · 15711e9c
    Alexander Graf 提交于
    We need to tell the guest the opcodes that make up a hypercall through
    interfaces that are controlled by userspace. So we need to add a call
    for userspace to allow it to query those opcodes so it can pass them
    on.
    
    This is required because the hypercall opcodes can change based on
    the hypervisor conditions. If we're running in hardware accelerated
    hypervisor mode, a hypercall looks different from when we're running
    without hardware acceleration.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    15711e9c
powerpc.c 13.9 KB