VM_REG_GUEST_SS
error = vm_set_desc(vcpu, VM_REG_GUEST_SS,
if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, gsel)) != 0)
error = vm_set_desc(vcpu, VM_REG_GUEST_SS,
if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, gsel)) != 0)
error = vm_set_desc(vcpu, VM_REG_GUEST_SS,
if ((error = vm_set_register(vcpu, VM_REG_GUEST_SS, sel)) != 0)
err += svm_snapshot_reg(vcpu, VM_REG_GUEST_SS, meta);
err += vmcb_snapshot_desc(vcpu, VM_REG_GUEST_SS, meta);
case VM_REG_GUEST_SS:
case VM_REG_GUEST_SS:
case VM_REG_GUEST_SS:
case VM_REG_GUEST_SS:
case VM_REG_GUEST_SS:
case VM_REG_GUEST_SS:
err += vmcs_snapshot_reg(vmcs, run, VM_REG_GUEST_SS, meta);
err += vmcs_snapshot_desc(vmcs, run, VM_REG_GUEST_SS, meta);
VM_REG_GUEST_SS,
case VM_REG_GUEST_SS:
error = vm_get_seg_desc(vcpu, VM_REG_GUEST_SS, &ss_desc);
if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS, &ss_desc,
*seg = VM_REG_GUEST_SS;
seg = VM_REG_GUEST_SS;
if (seg == VM_REG_GUEST_SS)
if (seg == VM_REG_GUEST_SS)
case VM_REG_GUEST_SS:
tss->tss_ss = GETREG(vcpu, VM_REG_GUEST_SS);
SETREG(vcpu, VM_REG_GUEST_SS, tss->tss_ss);
error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_SS, &seg_desc2,
update_seg_desc(vcpu, VM_REG_GUEST_SS, &seg_desc2);
stacksel = GETREG(vcpu, VM_REG_GUEST_SS);
error = vm_get_desc(vcpu, VM_REG_GUEST_SS, &seg_desc.base,
if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS,
{ .id = VM_REG_GUEST_SS, .size = 4 },
error = vm_set_desc(vcpu, VM_REG_GUEST_SS,
error = vm_set_register(vcpu, VM_REG_GUEST_SS, set_ss_val);
error = vm_get_desc(vcpu, VM_REG_GUEST_SS,
error = vm_get_register(vcpu, VM_REG_GUEST_SS, &ss);