Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • K kvmtool-ae
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • kvmtool-ae
  • Repository
Switch branch/tag
  • kvmtool-ae
  • include
  • kvm
  • disk-image.h
Find file BlameHistoryPermalink
  • Jean-Philippe Brucker's avatar
    disk/aio: Fix use of disk->async · d62e8ee0
    Jean-Philippe Brucker authored Apr 04, 2019
    
    
    Add an 'async' attribute to disk_image_operations, that describes if they
    can submit async I/O or not. disk_image->async is now set iff
    CONFIG_HAS_AIO and the ops do use AIO.
    
    This fixes qcow1, which used to set async = 1 even though the qcow
    operations don't use AIO. The disk core would perform the read/write
    operation without pushing the completion onto the virtio queue, and the
    guest would be stuck waiting.
    
    Reviewed-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
    Signed-off-by: Jean-Philippe Brucker's avatarJean-Philippe Brucker <jean-philippe.brucker@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    d62e8ee0