]> git.proxmox.com Git - mirror_zfs.git/commit
Fix Xen Virtual Block Device detection
authorRichard Yao <ryao@gentoo.org>
Mon, 6 Jul 2015 15:20:11 +0000 (11:20 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 10 Jul 2015 19:21:14 +0000 (12:21 -0700)
commit541da9935d07ad40fb5e000114d9c904c2dde632
tree53b4f8fb4a181b01b319cc51b2666eb89481372f
parent98cb3a76559cb1187f77af1d6a08d4f9b7b14aa0
Fix Xen Virtual Block Device detection

We fail to make partitions on xvd (Xen Virtual Block) devices. This also
causes debug builds of zpool create to return an error when given xen
virtual block devices. These devices should be given the same treatment
as vd (KVM Virtual Block) devices, so we adjust the relevant code paths.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3576
lib/libefi/rdwr_efi.c
lib/libzfs/libzfs_pool.c