[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Provide NBD via Browser over Websockets



Hello all,

It might be neat to attach ISOs to KVM guests via websockets.  Basically 
the  browser would be the NBD "server" and an NBD client would run on the 
hypervisor, then use `virsh change-media vm1 hdc --insert /dev/nbd0` could 
use an ISO from my desk to boot from.

Here's an HTML5 open file example:
https://stackoverflow.com/questions/3582671/how-to-open-a-local-disk-file-with-javascript

and the NBD protocol looks simple enough to implement in javascript:
https://stackoverflow.com/questions/17295140/where-is-the-network-block-device-format-describled

What do you think? Does anyone have an interest in doing this?


--
Eric Wheeler


Reply to: