Skip to contentSkip to conversation

Broken realview

Qemu-devel Evgeny Voevodin 2 participants 7 messages Feb 9, 2012

lore
Share & tools
lore

Evgeny Voevodin

author Reviewed-by Anthony Liguori
#0 lore raw

Since last QOM patch set landed into master, realview-pbx-a9, realview-eb-mpcore (suppose that other too) abort with error:

qemu/hw/qdev-properties.c:1161: qdev_prop_set_uint32: Assertion `!errp' failed. Aborted

Bisect result:

9b170e60adc6dc01564128cf09f96ec923ed6526 is the first bad commit commit 9b170e60adc6dc01564128cf09f96ec923ed6526

Author: Paolo Bonzini <[email protected]>
Date:   Thu Feb 2 12:51:44 2012 +0100

qdev: access properties via QOM

Do not poke anymore in the struct when accessing qdev properties. Instead, ask the object to set the right value.

Signature · 5 lines
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]
#1 lore raw
Quoted 6 lines · Evgeny Voevodin

Since last QOM patch set landed into master, realview-pbx-a9, realview-eb-mpcore (suppose that other too) abort with error:

qemu/hw/qdev-properties.c:1161: qdev_prop_set_uint32: Assertion `!errp' failed.
Aborted

The realview etc board models were accidentally setting the proc_id property on the sysctl register device after init rather than before. This hasn't been detected as an error up til now. Patch coming up shortly...

-- PMM

#6 lore raw
In reply to Evgeny Voevodin
Quoted 5 lines · Evgeny Voevodin

Since last QOM patch set landed into master, realview-pbx-a9, realview-eb-mpcore (suppose that other too) abort with error:

qemu/hw/qdev-properties.c:1161: qdev_prop_set_uint32: Assertion `!errp' failed.

Incidentally, this is a rather unhelpful diagnostic for "attempt to set a property after initialization"...

-- PMM

#2 lore raw
In reply to Peter Maydell
Quoted 8 lines · Peter Maydell
Quoted 6 lines · Evgeny Voevodin

Since last QOM patch set landed into master, realview-pbx-a9, realview-eb-mpcore (suppose that other too) abort with error:

qemu/hw/qdev-properties.c:1161: qdev_prop_set_uint32: Assertion `!errp' failed.
Aborted

Quoted 7 lines

The realview etc board models were accidentally setting the proc_id property on the sysctl register device after init rather than before. This hasn't been detected as an error up til now. Patch coming up shortly...

-- PMM

Hi, Peter.
It seems that we have to rebase our exynos boards again ). So, am I right supposing that exynos will not be applied until all QOM patch sets landed?

Signature · 5 lines
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]
#3 lore raw
Quoted 2 lines · Evgeny Voevodin

It seems that we have to rebase our exynos boards again ). So, am I right supposing that exynos will not be applied until all QOM patch sets landed?

Anthony claims there aren't any more QOM patchsets which touch all the files in the tree, so now is probably a good time to rebase and resubmit...

-- PMM

#4 lore raw
Quoted 10 lines · Peter Maydell
Quoted 2 lines · Evgeny Voevodin

It seems that we have to rebase our exynos boards again ). So, am I right supposing that exynos will not be applied until all QOM patch sets landed?

Anthony claims there aren't any more QOM patchsets which touch all the files in the tree, so now is probably a good time to rebase and resubmit...

-- PMM

Oh, good news :) Today be ready to receive v14 then.

Signature · 5 lines
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]
#5 lore raw
Quoted 11 lines · Evgeny Voevodin
Quoted 10 lines · Peter Maydell
Quoted 4 lines · Evgeny Voevodin

It seems that we have to rebase our exynos boards again ). So, am I right
supposing that exynos will not be applied until all QOM patch sets landed?

Anthony claims there aren't any more QOM patchsets which touch all the files in the tree, so now is probably a good time to rebase and resubmit...

Quoted 6 lines
Quoted 3 lines

-- PMM

Oh, good news :) Today be ready to receive v14 then.

Offtopic:
Peter, what do you think is better for our Exynos platform since it runs only on two CPUs:

- ignore smp_cpus (and throw a warning if "-smp" not equals to 2)
or
- rewrite smp_cpus and use it (and throw a warning if "-smp" not
equals to 2)

Signature · 5 lines
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]