commit | f53af4778ede5b73f6af9951b655f387c5bc94ba | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu May 21 12:56:34 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu May 21 13:20:00 2015 +0200 |
tree | 75185ab27527f6f05d6d344a412e5c89cd856310 | |
parent | 630ddf38a2a32179c87656d3e1b80f45ce52d57f [diff] |
speed up KVM by avoiding invalid guest state emulation Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/cstart.S b/cstart.S index cef3950..938139c 100644 --- a/cstart.S +++ b/cstart.S
@@ -5,6 +5,8 @@ xor %ax, %ax mov %ax, %ds mov %ax, %es + mov %ax, %fs + mov %ax, %gs mov %ax, %ss mov $0x7c00, %sp @@ -18,6 +20,8 @@ mov $16, %ax mov %ax, %ds mov %ax, %es + mov %ax, %fs + mov %ax, %gs mov %ax, %ss ljmp $8, $0xffff0000