Re: [PATCH 2/4] x86 paravirt_ops: paravirt_desc.h for native descriptor ops.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 07 August 2006 06:45, Rusty Russell wrote:
> Unfortunately, due to include cycles, we can't put these in
> paravirt.h: we use a separate header for these.
> 
> The implementation comes from Zach's [RFC, PATCH 10/24] i386 Vmi descriptor changes:
> 
>   Descriptor and trap table cleanups.  Add cleanly written accessors for
>   IDT and GDT gates so the subarch may override them.  Note that this
>   allows the hypervisor to transparently tweak the DPL of the descriptors
>   as well as the RPL of segments in those descriptors, with no unnecessary
>   kernel code modification.  It also allows the hypervisor implementation
>   of the VMI to tweak the gates, allowing for custom exception frames or
>   extra layers of indirection above the guest fault / IRQ handlers.

Nice cleanup. The old assembly mess was ripe to be killed for a long time.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux