On 5/6/21 5:57 AM, Kashyap Chamarthy wrote:
TODO: We also need to deprecate drive-backup transaction action..
But union members in QAPI doesn't support 'deprecated' feature. I tried
to dig a bit, but failed :/ Markus, could you please help with it? At
least by advice?
Oho, I see.
OK, I'm not Markus, but I've been getting into lots of trouble in the
QAPI generator lately, so let me see if I can help get you started...
https://gitlab.com/jsnow/qemu/-/commits/hack-deprecate-union-branches/
Here's a quick hack that might expose that feature. I suppose we can
discuss this with Markus and turn these into real patches if that's the
direction we wanna head.
--js