« Previous | Next » 

Revision d03f09cc

IDd03f09ccdee789168b5a26d2f4c5187717ec5605

Added by Markus Armbruster about 12 years ago

qdev: Fix i6300 upcast

Use DO_UPCAST() instead of container_of() to go from PCIDevice to
I6300State. This ensures that PCIDevice is the first member of struct
I6300State.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences