« Previous | Next » 

Revision ec990eb6


Added by Anthony Liguori over 11 years ago

qdev: reset qdev along with qdev tree

This patch changes the reset handling so that qdev has no knowledge of the
global system reset. Instead, a new bus/device level function is introduced
that allows all devices/buses on the bus/device to be reset using a depth
first transversal.

N.B. we have to expose the implicit system bus because we have various hacks
that result in an implicit system bus existing. Instead, we ought to have an
explicitly created system bus that we can trigger reset from. That's a topic
for a future patch though.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences