summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2011-11-13 17:19:00 +0000
committerAlexander Graf <agraf@suse.de>2011-11-18 14:22:46 +0100
commit5afdec404e73a578c37221b9ea226d582814acb5 (patch)
tree1eb90c9a355c62d27b15a03eaa0cc4c0ec8f5b6d
parent57285302af51a8bae334c03e1f8243e935373953 (diff)
downloadqemu-5afdec404e73a578c37221b9ea226d582814acb5.tar.gz
pseries: Default reg for vty should be SPAPR_VTY_BASE_ADDRESS
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 <michael@ellerman.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--hw/spapr_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_vty.c b/hw/spapr_vty.c
index f4f3ee32ae..815039501f 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(),
},