[pve-devel] [PATCH] Added support for ZFS Storage Plugin

Alexandre DERUMIER aderumier at odiso.com
Sat May 25 08:20:43 CEST 2013


I thinked you have segfault with iscsi as qemu-img format ?

I have done tests with nexenta(iscsi), it's works fine with raw format, so this is the default now.

So I don't think we need this patch.
(Can you test with current qemu-server git ?)

----- Mail original ----- 

De: mir at datanom.net 
À: pve-devel at pve.proxmox.com 
Envoyé: Vendredi 24 Mai 2013 20:53:20 
Objet: [pve-devel] [PATCH] Added support for ZFS Storage Plugin 

From: Michael Rasmussen <mir at datanom.net> 


Signed-off-by: Michael Rasmussen <mir at datanom.net> 
--- 
PVE/QemuServer.pm | 2 ++ 
1 file changed, 2 insertions(+) 

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm 
index 4f633e6..d71b199 100644 
--- a/PVE/QemuServer.pm 
+++ b/PVE/QemuServer.pm 
@@ -4549,6 +4549,8 @@ sub qemu_img_format { 

if ($scfg->{path} && $volname =~ m/\.(raw|qcow2|qed|vmdk)$/) { 
return $1; 
+ } elsif ($scfg->{type} eq 'nexenta' || $scfg->{type} eq 'zfs' || $scfg->{type} eq 'iscsidirect') { 
+ return "iscsi"; 
} elsif ($scfg->{type} eq 'iscsi') { 
return "host_device"; 
} else { 
-- 
1.7.10.4 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list