Re: [PATCH] vmd: write and read device state to and from fd

2017-05-06 Thread Reyk Floeter
On Sat, May 06, 2017 at 11:35:31AM -0700, Pratik Vyas wrote: > * Reyk Floeter [2017-05-05 18:11:22 +0200]: > > > Once again and for the record: nice work! > > Thank you! > > > See comments below, otherwise OK. > > Addressed and attached a patch inline. > > > (As mentioned before, we should tr

Re: [PATCH] vmd: write and read device state to and from fd

2017-05-06 Thread Pratik Vyas
* Reyk Floeter [2017-05-05 18:11:22 +0200]: Once again and for the record: nice work! Thank you! See comments below, otherwise OK. Addressed and attached a patch inline. (As mentioned before, we should try to merge this part if init and restore later to make it easier to keep it in sync

Re: [PATCH] vmd: write and read device state to and from fd

2017-05-05 Thread Reyk Floeter
On Thu, May 04, 2017 at 08:57:00PM -0700, Pratik Vyas wrote: > Hello tech@, > > This patch adds functions to read and write state of devices in vmd. The > atomicio parts are copied from usr.bin/ssh. > > Context: This is required for implementing vmctl send and vmctl receive. > vmctl send / receiv

Re: [PATCH] vmd: write and read device state to and from fd

2017-05-04 Thread Mike Larkin
On Thu, May 04, 2017 at 08:57:00PM -0700, Pratik Vyas wrote: > Hello tech@, > > This patch adds functions to read and write state of devices in vmd. The > atomicio parts are copied from usr.bin/ssh. > > Context: This is required for implementing vmctl send and vmctl receive. > vmctl send / receiv

[PATCH] vmd: write and read device state to and from fd

2017-05-04 Thread Pratik Vyas
Hello tech@, This patch adds functions to read and write state of devices in vmd. The atomicio parts are copied from usr.bin/ssh. Context: This is required for implementing vmctl send and vmctl receive. vmctl send / receive are two new options that will support snapshotting VMs and migrating VMs