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: m...@datanom.net 
À: pve-devel@pve.proxmox.com 
Envoyé: Vendredi 24 Mai 2013 20:53:20 
Objet: [pve-devel] [PATCH] Added support for ZFS Storage Plugin 

From: Michael Rasmussen <m...@datanom.net> 


Signed-off-by: Michael Rasmussen <m...@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@pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to