projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6055536
)
pc: use get_uint() for "iobase" property
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 7 Jun 2017 16:36:22 +0000
(20:36 +0400)
committer
Markus Armbruster
<armbru@redhat.com>
Tue, 20 Jun 2017 12:31:33 +0000
(14:31 +0200)
TYPE_ISA_FDC's property "iobase" is defined with DEFINE_PROP_UINT32().
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <
20170607163635
.17635-31-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/i386/pc.c
patch
|
blob
|
history
diff --git
a/hw/i386/pc.c
b/hw/i386/pc.c
index 5b8c6fbbea5b6147b64a26527c16300facc20f38..f670ecb7f2a968963c4fd48defb93f9f1bd49ce1 100644
(file)
--- a/
hw/i386/pc.c
+++ b/
hw/i386/pc.c
@@
-347,7
+347,7
@@
static int check_fdc(Object *obj, void *opaque)
return 0;
}
- iobase = object_property_get_int(obj, "iobase", &local_err);
+ iobase = object_property_get_
u
int(obj, "iobase", &local_err);
if (local_err || iobase != 0x3f0) {
error_free(local_err);
return 0;