Hi,
I think that is all been done already.

The groundwork was done in yakkety already (and is upstream in the version 
merged for zesty)
libvirt (2.1.0-1ubuntu8) yakkety; urgency=medium
  [ Christian Ehrhardt ]
  * avoid migration postcopy issues by ensuring valid commands (LP: #1620906)
    - d/p/ubuntu/check-live-for-postcopy.patch Check for --live flag for
      postcopy-after-precopy migration.
    - d/p/ubuntu/make-postcopy-mandatory-for-postcopy-after-precopy.patch to

These changes are upstream since libvirt 2.2 and therefore in Zesty as
well.

Then there was a follow up request which I managed in bug 1638470.
This was solved by merging a libvirt >=2.4 which had the fix that was requested.

That means as in zesty it should
a) require --postcopy if using --postcopy-after-precopy
   commit 04597a7038482688fb2cc8b0b1869392f6f78016
   Author: Kothapally Madhu Pavan <[email protected]>
        Make --postcopy flag mandatory with --postcopy-after-precopy
and
b) error out if not set accordingly
   commit 011935457a3b5d911e10dc60c681778e78c8fdf9 (tag: v2.4.0-rc2)
   Author: Kothapally Madhu Pavan <[email protected]>
       vsh: Using VSH_REQUIRE_OPTION rather than virReportError

Is there anything left to be solved or is this a dup to bug 1638470
(which is fix released)?

** Changed in: libvirt (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662283

Title:
  [Ubuntu][Libvirt] As per man page --postcopy-after-precopy should be
  used along with --postcopy flag and if both these flags are not used
  then error should be thrown accordingly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1662283/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to