qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: aik@ozlabs.ru, agraf@suse.de, qemu-devel@nongnu.org,
	qemu-ppc@nongnu.org, mdroth@us.ibm.com
Subject: Re: [Qemu-devel] [PATCH 1/2] vga: Expose framebuffer byteorder as a QOM property
Date: Tue, 10 Feb 2015 21:58:09 +1100	[thread overview]
Message-ID: <20150210105809.GH25675@voom.fritz.box> (raw)
In-Reply-To: <1423559998.488.9.camel@nilsson.home.kraxel.org>

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

On Tue, Feb 10, 2015 at 10:19:58AM +0100, Gerd Hoffmann wrote:
> On Di, 2015-02-10 at 15:36 +1100, David Gibson wrote:
> > The VGA device model now supports having the framebuffer in either endian,
> > and can be switched between these by the guest via a register in the qext
> > region.
> > 
> > However, in some cases (e.g. LE OS on the pseries machine) we have
> > existing guest that don't know about the endian switch register, but other
> > parts of the qemu code have better information to set a default endianness
> > than the VGA code does of itself.
> > 
> > In order to allow them to set a correct default endianness in these cases,
> > without breaking abstraction walls, this patch exposes the VGA framebuffer
> > endianness via a writable QOM property.
> > 
> > Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> > 
> > prop fixup
> 
> squash leftover?

Oops, yes.

> Otherwise:
> 
> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
> 
> (assuming this little series gets in via ppc tree).
> 
> cheers,
>   Gerd
> 
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-02-10 11:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10  4:36 [Qemu-devel] [PATCH 0/2] ppc: Automatically set vga framebuffer endianness based on guest David Gibson
2015-02-10  4:36 ` [Qemu-devel] [PATCH 1/2] vga: Expose framebuffer byteorder as a QOM property David Gibson
2015-02-10  9:19   ` Gerd Hoffmann
2015-02-10 10:58     ` David Gibson [this message]
2015-02-10  4:36 ` [Qemu-devel] [PATCH 2/2] pseries: Switch VGA endian on H_SET_MODE David Gibson
2015-02-17 17:03   ` Michael Roth
2015-02-20 14:11 ` [Qemu-devel] [PATCH 0/2] ppc: Automatically set vga framebuffer endianness based on guest Alexander Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150210105809.GH25675@voom.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=kraxel@redhat.com \
    --cc=mdroth@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).