Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329877
b: refs/heads/master
c: 72fbefe
h: refs/heads/master
i:
  329875: 2e76b38
v: v3
  • Loading branch information
Avi Kivity authored and Marcelo Tosatti committed Aug 27, 2012
1 parent 9a38538 commit f7441c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baa7e81e325bbb6ddebd7680ac1068859244b61d
refs/heads/master: 72fbefec26841699fee9ad0b050624aeb43d5bae
4 changes: 2 additions & 2 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2693,11 +2693,11 @@ static __exit void hardware_unsetup(void)
free_kvm_area();
}

static void fix_pmode_dataseg(int seg, struct kvm_save_segment *save)
static void fix_pmode_dataseg(int seg, struct kvm_segment *save)
{
struct kvm_vmx_segment_field *sf = &kvm_vmx_segment_fields[seg];

if (vmcs_readl(sf->base) == save->base && (save->base & AR_S_MASK)) {
if (vmcs_readl(sf->base) == save->base && (save->ar_bytes & AR_S_MASK)) {
vmcs_write16(sf->selector, save->selector);
vmcs_writel(sf->base, save->base);
vmcs_write32(sf->limit, save->limit);
Expand Down

0 comments on commit f7441c8

Please sign in to comment.