Home
last modified time | relevance | path

Searched hist:"453 b07b1" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dqemu-nbd.c453b07b1 Wed Feb 25 18:08:15 GMT 2015 Max Reitz <mreitz@redhat.com> qemu-nbd: Detect unused partitions by system == 0

Unused partitions do not necessarily have a total sector count of 0
(although they should have), but they always do have the system field
set to 0, so use that for testing whether a partition is in use rather
than the sector count field alone.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <1424887718-10800-3-git-send-email-mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>