From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm-12 userland guest reboot fix Date: Wed, 24 Jan 2007 15:47:58 +0200 Message-ID: <45B7638E.300@qumranet.com> References: <20070124130534.GA19732@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Joerg Roedel Return-path: In-Reply-To: <20070124130534.GA19732-5C7GfCeVMHo@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 Joerg Roedel wrote: > From: Markus Rechberger > From: Joerg Roedel > > This patch fixes the initialization of the segment registers which > solves the triple fault and keyboard controller reset problems in > kvm/qemu guests as well as the slow grub menu interaction. This works > for SVM now, it is not tested on kvm/vmx. > > The patch fails to boot on Intel hosts. Most likely the segment changes are illegal for vm86 mode, which we use on Intel to simulate real mode. I tried to change flags in cpu_reset() so that type == 3 and dpl == 3, as required by 22.3.1.2, but it didn't help. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV