regmask
vcpu_readregs_vmx(struct vcpu *vcpu, uint64_t regmask, int loadvmcs,
if (regmask & VM_RWREGS_GPRS) {
if (regmask & VM_RWREGS_SREGS) {
if (regmask & VM_RWREGS_CRS) {
if (regmask & VM_RWREGS_MSRS) {
if (regmask & VM_RWREGS_DRS) {
vcpu_readregs_svm(struct vcpu *vcpu, uint64_t regmask,
if (regmask & VM_RWREGS_GPRS) {
if (regmask & VM_RWREGS_SREGS) {
if (regmask & VM_RWREGS_CRS) {
if (regmask & VM_RWREGS_MSRS) {
if (regmask & VM_RWREGS_DRS) {
vcpu_writeregs_vmx(struct vcpu *vcpu, uint64_t regmask, int loadvmcs,
if (regmask & VM_RWREGS_GPRS) {
if (regmask & VM_RWREGS_SREGS) {
if (regmask & VM_RWREGS_CRS) {
if (regmask & VM_RWREGS_MSRS) {
if (regmask & VM_RWREGS_DRS) {
vcpu_writeregs_svm(struct vcpu *vcpu, uint64_t regmask,
if (regmask & VM_RWREGS_GPRS) {
if (regmask & VM_RWREGS_SREGS) {
if (regmask & VM_RWREGS_CRS) {
if (regmask & VM_RWREGS_MSRS) {
if (regmask & VM_RWREGS_DRS) {
const struct regmask *tbl,
static const struct regmask pardon[] = {
static const struct regmask wo[] = {