From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yosuke Iwamatsu Subject: Re: Regressions introduced by ioemu-remote -- Xen #18039. Date: Mon, 14 Jul 2008 17:38:10 +0900 Message-ID: <487B1072.3030600@ab.jp.nec.com> References: <0E6B8CEB89DCFE40A52F80EB8F97D99D02B89483@pdsmsx413.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050007000604030300020006" Return-path: In-Reply-To: <0E6B8CEB89DCFE40A52F80EB8F97D99D02B89483@pdsmsx413.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: haicheng.li@intel.com Cc: xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050007000604030300020006 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Perhaps the attached patch will fix the Issue2? cs 18025 changed the size of vga ram, so we should reduce VGA_RAM_SIZE to 4MB for ioemu-remote tree likewise. Thanks, -- Yosuke Li, Haicheng wrote: > With ioemu-remote, still failed to create hvm guest with vncviewer > disabled by 'sdl=1' or 'vnc=1 & vncconsole=0'. Two issues were found > with Xen #18039 as log pasted below. > > BTW, will xen-3.3 release use ioemu-remote as default qemu? Looks there > would be some compatibility issues between xm/xend and ioemu-remote. > > Issue1: if no vif option set. qemu exits with following log: > domid: 14 > qemu: the number of cpus is 1 > Unknown network device: user > > Issue2: with vif option set, qemu exits with following log: > domid: 18 > qemu: the number of cpus is 1 > config qemu network with xen bridge for tap18.0 eth4 > Strip off blktap sub-type prefix to > /share/imgs/hli22/xen-test/manual-test/ia32e_xp_smp.qcow (drv 'qcow') > qemu: could not open vbd '/local/domain/18/device/vbd/768/phantom_vbd' > or hard disk image > '/share/imgs/hli22/xen-test/manual-test/ia32e_xp_smp.qcow' (drv 'qcow' > format '0') > Watching /local/domain/0/device-model/18/logdirty/next-active > Watching /local/domain/0/device-model/18/command > char device redirected to /dev/pts/3 > qemu_map_cache_init nr_buckets = 10000 size 3145728 > shared page at pfn 7ffe > buffered io page at pfn 7ffc > Time offset set 0 > Register xen platform. > Done register platform. > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > (qemu) Failed allocation for dom 18: 2048 extents of order 0 > Failed to populate physmap > Failed set_mm_mapping > NULL vram_pointer > > > -- haicheng > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel --------------050007000604030300020006 Content-Type: all/allfiles; name="vga_ram_size.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="vga_ram_size.patch" ioemu-remote: change VGA_RAM_SIZE to 4MB. Signed-off-by: Yosuke Iwamatsu diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c diff --git a/hw/pc.h b/hw/pc.h index a78e039..52f1365 100644 --- a/hw/pc.h +++ b/hw/pc.h @@ -116,7 +116,7 @@ int piix4_init(PCIBus *bus, int devfn); /* vga.c */ #ifndef TARGET_SPARC -#define VGA_RAM_SIZE (8192 * 1024) +#define VGA_RAM_SIZE (4096 * 1024) #else #define VGA_RAM_SIZE (9 * 1024 * 1024) #endif --------------050007000604030300020006 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050007000604030300020006--