« Previous | Next » 

Revision a83000f5

IDa83000f5e3fac30a7f213af1ba6a8f827622854d

Added by Anthony Liguori over 10 years ago

spapr-tce: make sPAPRTCETable a proper device

Model TCE tables as a device that's hooked up as a child object to
the owner. Besides the code cleanup, we get a few nice benefits:

1) free actually works now (it was dead code before)

2) the TCE information is visible in the device tree

3) we can expose table information as properties such that if we
change the window_size, we can use globals to keep migration
working.

Signed-off-by: David Gibson <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Alexey Kardashevskiy <>
Message-id:
[dwg: pseries: savevm support for PAPR TCE tables]
Signed-off-by: Alexey Kardashevskiy <>
[alexey: ppc kvm: fix to compile]
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences