qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 4/5] pseries: Default reg for vty should be SPAPR_VT


From: David Gibson
Subject: [Qemu-devel] [PATCH 4/5] pseries: Default reg for vty should be SPAPR_VTY_BASE_ADDRESS
Date: Mon, 14 Nov 2011 14:19:00 +1100

From: Michael Ellerman <address@hidden>

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 <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]