From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: HVM hypercalls Date: Thu, 5 Aug 2010 09:25:11 +0200 Message-ID: <201008050925.11924.Christoph.Egger@amd.com> References: <779375.40829.qm@web113612.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <779375.40829.qm@web113612.mail.gq1.yahoo.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ruslan Nikolaev , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org On Wednesday 04 August 2010 19:41:20 Ruslan Nikolaev wrote: > Yes, I tried this but it does not seem to work. BTW in paravirtualized mode > it works fine, the problem is only with HVM. > > I tried to specify root=/dev/xvda (my disk image has no partitions, entire > disk image is a single file system). > > My config is (I also tried to comment out device model but it does not > help): You can simplify your guest config file: > import os, re > arch = os.uname()[4] > if re.search('64', arch): > arch_libdir = 'lib64' > else: > arch_libdir = 'lib' Remove this part. > kernel = "/usr/lib/xen/boot/hvmloader" kernel = "hvmloader" > builder='hvm' > > vcpus=1 > > memory = 1024 > shadow_memory = 8 > name = "xenhvm1" > disk = [ 'file:/home/ruslan/fs1.img,xvda,w' ] > device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' device_model = "qemu-dm" > # boot on floppy (a), hard disk (c) or CD-ROM (d) > # default: hard disk, cd-rom, floppy > boot="c" > > sdl=1 > vnc=0 > vncviewer=0 > vncpasswd='' > stdvga=1 > serial='pty' > usbdevice='tablet' Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632