Received: from eggs.gnu.org ([2001:4830:134:3::10]:42225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHub4-0004Vs-Qa for qemu-devel@nongnu.org; Tue, 28 Jun 2016 11:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHuaz-0001i6-JM for qemu-devel@nongnu.org; Tue, 28 Jun 2016 11:06:41 -0400 Date: Tue, 28 Jun 2016 17:06:28 +0200 From: Kevin Wolf Message-ID: <20160628150628.GJ6800@noname.redhat.com> References: <20160628073313.9A233401D2@webmail.sinamail.sina.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160628073313.9A233401D2@webmail.sinamail.sina.com.cn> Subject: Re: [Qemu-devel] [Qemu-block] About Cirrus VGA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zer0 <10101@sina.com> Cc: qemu-block , qemu-devel@nongnu.org Am 28.06.2016 um 09:33 hat Zer0 geschrieben: > Hello, > > I'm a software engineer from china, recently when I debug the QEMU code got > some problem, after all my colleague can not solve the problem, I decide to ask > some professional. > > 1.When i try to debug the cirrus_vga_mem_write(...) function, the addr > (parameter) always bigger than 0x10000, is anybody can tell me how can i do to > make the addr smaller than 0x10000. > I have tried to use iowrite8(), iowrite16(), iowrite32(), iowrite8_rep() etc. > just does not work. > 2.There is another question, which API should I use to call these two function: > cirrus_linear_write(), cirrus_linear_bitblt_write() Cirrus isn't a block device, so this question isn't right on qemu-block. CCing qemu-devel (which should always be CCed anyway). Kevin