From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPn4Y-0002nm-Sy for qemu-devel@nongnu.org; Sun, 13 Nov 2011 22:19:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPn4X-0008ON-BD for qemu-devel@nongnu.org; Sun, 13 Nov 2011 22:19:02 -0500 From: David Gibson Date: Mon, 14 Nov 2011 14:19:00 +1100 Message-Id: <1321240741-23055-5-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1321240741-23055-1-git-send-email-david@gibson.dropbear.id.au> References: <1321240741-23055-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 4/5] pseries: Default reg for vty should be SPAPR_VTY_BASE_ADDRESS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de Cc: michael@ellerman.id.au, qemu-ppc@nongnu.org, qemu-devel@nongnu.org From: Michael Ellerman In commit b4a78527359a4540d84d4cdf629d01cbb262f698 ("Place pseries vty devices at addresses more similar to existing machines"), we changed the default reg for the vty to 0x30000000, however we didn't update the default value for a user specified vty device. Fix that. Signed-off-by: Michael Ellerman Signed-off-by: David Gibson --- hw/spapr_vty.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/spapr_vty.c b/hw/spapr_vty.c index f4f3ee3..8150395 100644 --- a/hw/spapr_vty.c +++ b/hw/spapr_vty.c @@ -145,7 +145,7 @@ static VIOsPAPRDeviceInfo spapr_vty = { .qdev.name = "spapr-vty", .qdev.size = sizeof(VIOsPAPRVTYDevice), .qdev.props = (Property[]) { - DEFINE_SPAPR_PROPERTIES(VIOsPAPRVTYDevice, sdev, 0, 0), + DEFINE_SPAPR_PROPERTIES(VIOsPAPRVTYDevice, sdev, SPAPR_VTY_BASE_ADDRESS, 0), DEFINE_PROP_CHR("chardev", VIOsPAPRVTYDevice, chardev), DEFINE_PROP_END_OF_LIST(), }, -- 1.7.7.1