History

KVM: RISC-V: Add KVM_REG_RISCV for ONE_REG interface

We will be using ONE_REG interface accessing VCPU registers from user-space hence we add KVM_REG_RISCV for RISC-V VCPU registers.

Anup Patel committed 7 years ago

Commit dee04ee1 parent b47613d1 file · +1 −0Browse files

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -1145,6 +1145,7 @@ struct kvm_dirty_tlb { · 1144 unmodified lines
1145#define KVM_REG_S390 0x5000000000000000ULL1145#define KVM_REG_S390 0x5000000000000000ULL
1146#define KVM_REG_ARM64 0x6000000000000000ULL1146#define KVM_REG_ARM64 0x6000000000000000ULL
1147#define KVM_REG_MIPS 0x7000000000000000ULL1147#define KVM_REG_MIPS 0x7000000000000000ULL
1148#define KVM_REG_RISCV 0x8000000000000000ULL
1148 1149
1149#define KVM_REG_SIZE_SHIFT 521150#define KVM_REG_SIZE_SHIFT 52
1150#define KVM_REG_SIZE_MASK 0x00f0000000000000ULL1151#define KVM_REG_SIZE_MASK 0x00f0000000000000ULL

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t