Anthony Liguori wrote:
+
+#ifdef TAP_VNET_HDR
+    qemu_put_be32(f, tap_has_vnet_hdr(n->vc->vlan->first_client));
+#endif

This should increment the save/restore format version number to preserve backwards compatibility. It'll also be required for merging into QEMU upstream.

As a rule, if new fields are added to a save/load function, the version number should be incremented.

That only works if this is the very next change in qemu upstream. If you accept another fix first, or require changes to this fix, then we're out of luck.

I don't see any solution except continuing to merge.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to