Hi, This series introduces qtest support for spapr and adds a test case for spapr-vty. It then significantly refactors spapr-vty fixing among other things a number of guest driven aborts due to improper use of QOM cast macros.
A neat trick included in this series is a save_restore() qtest function which does a live migration to a file and then restores it allowing for testing vmstate code within qtest cases.