proposed interface change for setting the ldt

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

 



Rusty Russell wrote:
> It sounds fine to me, although I'd like to see the patch.  I don't have
> anything against higher-level abstractions, if it helps any hypervisor,
> as long as it doesn't warp the kernel code.  And if most hypervisors and
> native break it down the same way, well, we can always create helpers.
>   

Doing it this way does save a lot of complexity in the Xen case, which 
would otherwise have to:

   1. unpack the descriptor
   2. if it's an LDT, save it off in a per-cpu structure
   3. when load_ldt_desc is called, look up the structure, extract the
      base+size of the ldt, and make a hypercall to set the ldt

vs

   1. set the ldt


    J


[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux