Home
last modified time | relevance | path

Searched hist:"57322 b78" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dvmdk.c57322b78 Thu Jun 26 06:23:22 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Use bdrv_nb_sectors() where sectors, not bytes are wanted

Instead of bdrv_getlength().

Aside: a few of these callers don't handle errors. I didn't
investigate whether they should.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
H A Dqcow2.c57322b78 Thu Jun 26 06:23:22 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Use bdrv_nb_sectors() where sectors, not bytes are wanted

Instead of bdrv_getlength().

Aside: a few of these callers don't handle errors. I didn't
investigate whether they should.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/
H A Dblock.c57322b78 Thu Jun 26 06:23:22 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Use bdrv_nb_sectors() where sectors, not bytes are wanted

Instead of bdrv_getlength().

Aside: a few of these callers don't handle errors. I didn't
investigate whether they should.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>