Re: [Xen-devel] [PATCH 14/15] x86/hvm: Prepare to allow use of system segments for memory references

2016-11-24 Thread Jan Beulich
>>> On 23.11.16 at 16:38, wrote: > All system segments (GDT/IDT/LDT and TR) describe a linear address and limit, > and act similarly to user segments. However all current uses of these tables > in the emulator opencode the address calculations and limit checks. In > particular, no care is taken

Re: [Xen-devel] [PATCH 14/15] x86/hvm: Prepare to allow use of system segments for memory references

2016-11-23 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: 23 November 2016 15:39 > To: Xen-devel > Cc: Andrew Cooper ; Jan Beulich > ; Paul Durrant > Subject: [PATCH 14/15] x86/hvm: Prepare to allow use of system segments > for memory references > > All system

[Xen-devel] [PATCH 14/15] x86/hvm: Prepare to allow use of system segments for memory references

2016-11-23 Thread Andrew Cooper
All system segments (GDT/IDT/LDT and TR) describe a linear address and limit, and act similarly to user segments. However all current uses of these tables in the emulator opencode the address calculations and limit checks. In particular, no care is taken for access which wrap around the 4GB or no