From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: global TSS? Date: Tue, 09 Oct 2007 11:46:07 +0200 Message-ID: <470B4DDF.6050000@qumranet.com> References: <10EA09EFD8728347A513008B6B0DA77A0231C124@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A0231C124-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Dong, Eddie wrote: > Avi: > It seems we are using global TSS, and init_rmode_tss will modify > the table each time when VCPU is reset. Should we move to per CPU TSS > for correct real mode emulation? > Why is it a problem? But, the real-mode tss can definitely be improved. Right now it uses guest memory, and it really shouldn't. The best solution is probably to allocate a global tss (for all guests) out of host memory, and modify the mmu to map it at some safe location (like 4GB - 512KB - 12KB) -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/