[pve-devel] [PATCH 3/4] convert parallel device to new qemu syntax V2

Alexandre DERUMIER aderumier at odiso.com
Fri Sep 9 12:57:42 CEST 2011


oh, sorry , i think they are only 1 parallel and 1 serial 


so, do you want i code something like

serial0: SERIALDEVICE
serial1: SERIALDEVICE

parallel0: PARALLELDEVICE
parallel1: PARALLELDEVICE


to replace

serial : SERIALDEVICE { , SERIALDEVICE }
parallel : PARALLELDEVICE { , PARALLELDEVICE }



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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Derumier Alexandre" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Vendredi 9 Septembre 2011 12:25:00 
Objet: RE: [pve-devel] [PATCH 3/4] convert parallel device to new qemu syntax V2 

same here, all parrallel devices gets the same ID?? 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Derumier Alexandre 
> Sent: Freitag, 09. September 2011 10:27 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] [PATCH 3/4] convert parallel device to new qemu syntax V2 
> 
> 
> Signed-off-by: Derumier Alexandre <aderumier at odiso.com> 
> --- 
> PVE/QemuServer.pm | 3 ++- 
> 1 files changed, 2 insertions(+), 1 deletions(-) 
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 29b304b..e76fc80 
> 100644 
> --- a/PVE/QemuServer.pm 
> +++ b/PVE/QemuServer.pm 
> @@ -1982,7 +1982,8 @@ sub config_to_command { 
> foreach my $dev (@dl) { 
> next if !$dev; 
> if (-c $dev) { 
> - push @$cmd, '-parallel', "$dev"; 
> + push @$cmd, '-chardev', "parport,id=parallel0,path=$dev"; 
> + push @$cmd, '-device', 
> + "isa-parallel,chardev=parallel0"; 
> } 
> } 
> } 
> -- 
> 1.7.2.5 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 





-- 

-- 




	
	Alexandre Derumier 
Ingénieur système 
e-mail : aderumier at odiso.com 
Tél : +33 (0)3 20 68 88 90 
Fax : +33 (0)3 20 68 90 81 
45 Bvd du Général Leclerc 
59100 ROUBAIX - FRANCE 













-------------- next part --------------
A non-text attachment was scrubbed...
Name: aderumier.vcf
Type: text/x-vcard
Size: 183 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20110909/03eefe04/attachment.vcf>


More information about the pve-devel mailing list