]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: Add additional errors/checks for disk label
authorJohn Ferlan <jferlan@redhat.com>
Thu, 1 Oct 2015 12:24:14 +0000 (08:24 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 5 Oct 2015 12:14:44 +0000 (08:14 -0400)
commitfba2076f43032632b1cbd29416c57955f943d828
tree980e8431d04c1c2b1136f943a6d1bbacf569da75
parent05c46f5c2267a52a2011d5ce0cd4fce1f5334761
storage: Add additional errors/checks for disk label

Let's check to ensure we can find the Partition Table in the label
and that libvirt actually recognizes that type; otherwise, when we
go to read the partitions during a refresh operation we may not be
reading what we expect.

This will expand upon the types of errors or reason that a build
would fail, so we can create more direct error messages.
src/libvirt_private.syms
src/storage/storage_backend_disk.c