Re: [PATCH v9 2/4] KVM: PPC: epapr: Add idle hcall support for host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 7, 2012 at 5:27 PM, Alexander Graf <agraf@xxxxxxx> wrote:
>> #define KVM_SC_MAGIC_R0               0x4b564d21 /* "KVM!" */
>> -#define HC_VENDOR_KVM                (42 << 16)
>> +
>> +#include <asm/epapr_hcalls.h>
>> +
>> +/* ePAPR Hypercall Vendor ID */
>> +#define HC_VENDOR_EPAPR              (EV_EPAPR_VENDOR_ID << 16)
>> +#define HC_VENDOR_KVM                (EV_KVM_VENDOR_ID << 16)
>> +
>> +/* ePAPR Hypercall Token */
>> +#define HC_EV_IDLE           EV_IDLE
>> +
>> +/* ePAPR Hypercall Return Codes */
>> #define HC_EV_SUCCESS         0
>> -#define HC_EV_UNIMPLEMENTED  12
>> +#define HC_EV_UNIMPLEMENTED  EV_UNIMPLEMENTED
>
> Shouldn't all this rather be in an epapr header file?

Think I see a cleaner way of handling this, will address in next respin.

Stuart
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux