Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Timo Grodzinski
Am 30.08.2012 11:11, schrieb Dietmar Maurer: Oh sorry. I'm travelling right now and Timo told me it looks like: 1024.000 Maybe the automatic update from bps to mbps can cause such numbers. for 1024MB/s. But normally, you simply get what you type on the GUI. Sorry - I didnt saw that you al

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Stefan Priebe
Am 30.08.2012 11:11, schrieb Dietmar Maurer: Oh sorry. I'm travelling right now and Timo told me it looks like: 1024.000 Maybe the automatic update from bps to mbps can cause such numbers. for 1024MB/s. But normally, you simply get what you type on the GUI. perfect! Stefan __

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Dietmar Maurer
> Oh sorry. I'm travelling right now and Timo told me it looks like: > 1024.000 Maybe the automatic update from bps to mbps can cause such numbers. > for 1024MB/s. But normally, you simply get what you type on the GUI. ___ pve-devel mailing list pve-

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Stefan Priebe
Am 30.08.2012 11:04, schrieb Dietmar Maurer: What if we change 'bps' to 'mbps'. The following seems to work: Thanks! But aren't 2 decimal places enough? I do not modify or limit the number of decimal places. So what is the problem? Oh sorry. I'm travelling right now and Timo told me it look

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Dietmar Maurer
> >>> What if we change 'bps' to 'mbps'. The following seems to work: > > Thanks! But aren't 2 decimal places enough? I do not modify or limit the number of decimal places. So what is the problem? ___ pve-devel mailing list pve-devel@pve.proxmox.com ht

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Stefan Priebe
-Original Message- From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- boun...@pve.proxmox.com] On Behalf Of Dietmar Maurer Sent: Mittwoch, 29. August 2012 13:47 To: tgrodzinski; pve-devel@pve.proxmox.com Subject: Re: [pve-devel] [PATCH] added renderer for hd strings in hardware

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-30 Thread Timo Grodzinski
devel-boun...@pve.proxmox.com [mailto:pve-devel- boun...@pve.proxmox.com] On Behalf Of Dietmar Maurer Sent: Mittwoch, 29. August 2012 13:47 To: tgrodzinski; pve-devel@pve.proxmox.com Subject: Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview I just tried to add that to QemuServ

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-29 Thread Timo Grodzinski
aurer Sent: Mittwoch, 29. August 2012 13:47 To: tgrodzinski; pve-devel@pve.proxmox.com Subject: Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview I just tried to add that to QemuServer.js, but it is really a mess. What if we change 'bps' to 'mbps'. The fol

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-29 Thread Dietmar Maurer
grodzinski; pve-devel@pve.proxmox.com > Subject: Re: [pve-devel] [PATCH] added renderer for hd strings in hardware > overview > > I just tried to add that to QemuServer.js, but it is really a mess. > > What if we change 'bps' to 'mbps'. The following seems to

Re: [pve-devel] [PATCH] added renderer for hd strings in hardware overview

2012-08-29 Thread Dietmar Maurer
I just tried to add that to QemuServer.js, but it is really a mess. What if we change 'bps' to 'mbps'. The following seems to work: The new parser automatically converts old bps to mbps. --- PVE/API2/Qemu.pm | 11 +++ PVE/QemuServer.pm | 25 - 2 files changed