[pve-devel] pve-manager : add hd resize feature

Stefan Priebe s.priebe at profihost.ag
Thu Dec 13 22:30:07 CET 2012


Hi Alexandre,

this works fine but the new size isn't exposed / send to guest. The new 
size should be viewable in guest when kernel supports this.

So shouldn't we add this:
    my $input = "block_resize drive-scsi1 ${size}G";
    PVE::QemuServer::vm_human_monitor_command ( $vmid, $input );

So the guest already know about new size if guest kernel supports it.

Greets,
Stefan

Am 13.12.2012 15:41, schrieb Alexandre Derumier:
> Please review, but I think it's clean.
>
> _______________________________________________
> 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