Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Support virtio ISO from data domain in VM import #570

Merged
merged 1 commit into from
Aug 31, 2022

Commits on Aug 17, 2022

  1. core: Support virtio ISO from data domain in VM import

    Path to a virtio ISO image used in VM import was constructed assuming
    that the image is located in an ISO domain. To support ISO images
    located in a data domain we need to pass the storage domain ID to
    ConvertVmCommand and use prepareImage()/teardownImage() to obtain the
    path to the image on the host where VM conversion is running.
    
    Due to limitation of prepareImage()/teardownImage() on VDSM side, these
    calls cannot be nested. That's why the ISO image located in a block data
    domain can be used exclusively by a single instance of ConvertVmCommand.
    
    Change-Id: I835602a9019ecbcf4c63529a9d006bc43ee793be
    Bug-Url: https://bugzilla.redhat.com/1721455
    Signed-off-by: Shmuel Melamud <smelamud@redhat.com>
    smelamud committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    db7b636 View commit details
    Browse the repository at this point in the history