KVM: Use x86's segment descriptor struct instead of private definition
The x86 desc_struct unification allows us to remove segment_descriptor.h. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "irq.h"
|
||||
#include "vmx.h"
|
||||
#include "segment_descriptor.h"
|
||||
#include "mmu.h"
|
||||
|
||||
#include <linux/kvm_host.h>
|
||||
@@ -388,7 +387,7 @@ static void reload_tss(void)
|
||||
* VT restores TR but not its size. Useless.
|
||||
*/
|
||||
struct descriptor_table gdt;
|
||||
struct segment_descriptor *descs;
|
||||
struct desc_struct *descs;
|
||||
|
||||
get_gdt(&gdt);
|
||||
descs = (void *)gdt.base;
|
||||
|
Reference in New Issue
Block a user