Skip to content
  • Reda Sallahi's avatar
    86ce1f6e
    qemu-img: add the 'dd' subcommand · 86ce1f6e
    Reda Sallahi authored
    
    
    This patch adds a basic dd subcommand analogous to dd(1) to qemu-img.
    
    For the start, this implements the bs, if, of and count options and requires
    both if and of to be specified (no stdin/stdout if not specified) and doesn't
    support tty, pipes, etc.
    
    The image format must be specified with -O for the output if the raw format
    is not the intended one.
    
    Two tests are added to test qemu-img dd.
    
    Signed-off-by: default avatarReda Sallahi <fullmanet@gmail.com>
    Message-id: 20160810024312.14544-1-fullmanet@gmail.com
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    [mreitz: Moved test 158 to 170]
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    86ce1f6e
    qemu-img: add the 'dd' subcommand
    Reda Sallahi authored
    
    
    This patch adds a basic dd subcommand analogous to dd(1) to qemu-img.
    
    For the start, this implements the bs, if, of and count options and requires
    both if and of to be specified (no stdin/stdout if not specified) and doesn't
    support tty, pipes, etc.
    
    The image format must be specified with -O for the output if the raw format
    is not the intended one.
    
    Two tests are added to test qemu-img dd.
    
    Signed-off-by: default avatarReda Sallahi <fullmanet@gmail.com>
    Message-id: 20160810024312.14544-1-fullmanet@gmail.com
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    [mreitz: Moved test 158 to 170]
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Loading