Page MenuHomeFreeBSD
Feed Advanced Search

Mar 3 2023

gusev.vitaliy_gmail.com added a comment to D38858: bhyve: Use directory `fd` with checkpoint.
In D38858#885508, @rew wrote:

! In D38858#884878, @gusev.vitaliy_gmail.com wrote:
Did you mean about format of the image files or something another? If format, I am going to resolve it with coming nvlist changes.

you plan on converting the snapshot file format to an nvlist?

Mar 3 2023, 9:13 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38900: bhyvectl: nvlist leak at send_message().
Mar 3 2023, 8:36 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38858: bhyve: Use directory `fd` with checkpoint.
Mar 3 2023, 8:17 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38860: bhyve: Enable Capsicum for snapshots.
Mar 3 2023, 5:13 PM · capsicum, bhyve
gusev.vitaliy_gmail.com updated the diff for D38860: bhyve: Enable Capsicum for snapshots.

Moved casper dependency to lib9p.

Mar 3 2023, 5:11 PM · capsicum, bhyve
gusev.vitaliy_gmail.com updated the diff for D38860: bhyve: Enable Capsicum for snapshots.

Added revert commit 966026246e62769f3bcd8247a47fe0f4f0433aba

Mar 3 2023, 3:41 PM · capsicum, bhyve
gusev.vitaliy_gmail.com added inline comments to D38860: bhyve: Enable Capsicum for snapshots.
Mar 3 2023, 3:33 PM · capsicum, bhyve
gusev.vitaliy_gmail.com added inline comments to D38860: bhyve: Enable Capsicum for snapshots.
Mar 3 2023, 3:22 PM · capsicum, bhyve
gusev.vitaliy_gmail.com requested review of D38889: bhyvectl: Correct socket_fd closing in send_message().
Mar 3 2023, 2:54 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38886: bhyvectl: send_message() returns garbage.
Mar 3 2023, 2:51 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38886: bhyvectl: send_message() returns garbage.

Fixed @markj notes.

Mar 3 2023, 2:51 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38872: bhyve: Exit with EX_OSERR if init checkpoint or restore time failed.

@markj @corvink Please re-accept.

Mar 3 2023, 12:06 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38856: bhyve: [snapshot] Add cap limits for ipc socket.

@markj @corvink Please re-accept.

Mar 3 2023, 12:06 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38887: bhyvectl: Operations --suspend and --checkpoint are alternative.
Mar 3 2023, 11:55 AM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38872: bhyve: Exit with EX_OSERR if init checkpoint or restore time failed.
Mar 3 2023, 11:48 AM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38872: bhyve: Exit with EX_OSERR if init checkpoint or restore time failed.

Fix note, use init_checkpoint_thread(ctx) != 0

Mar 3 2023, 11:47 AM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38856: bhyve: [snapshot] Add cap limits for ipc socket.
Mar 3 2023, 11:45 AM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38856: bhyve: [snapshot] Add cap limits for ipc socket.

Add empty line after #endif

Mar 3 2023, 11:45 AM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38855: bhyve: [snapshot] Do not flush readonly device at blockif_pause().
Mar 3 2023, 11:43 AM · bhyve
gusev.vitaliy_gmail.com requested review of D38886: bhyvectl: send_message() returns garbage.
Mar 3 2023, 11:38 AM · bhyve

Mar 2 2023

gusev.vitaliy_gmail.com added inline comments to D38858: bhyve: Use directory `fd` with checkpoint.
Mar 2 2023, 8:59 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38858: bhyve: Use directory `fd` with checkpoint.

Corrected according with @rew notes.

Mar 2 2023, 8:57 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38858: bhyve: Use directory `fd` with checkpoint.
In D38858#884892, @rew wrote:

Did you mean about format of the image files or something another? If format, I am going to resolve it with coming nvlist changes.

Have you sought out jhb's advice on this yet? I know he has expressed his opinion on it in the past.

Mar 2 2023, 8:37 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38858: bhyve: Use directory `fd` with checkpoint.
In D38858#884827, @rew wrote:

I still don't understand why you haven't addressed my comments that I raised in the original review. Do you feel it's not worth addressing or is that I'm out of line?

Mar 2 2023, 7:34 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D35454: bhyve: snapshot capsicum support.

@corvink As you suggested I split this patch to the several reviews:

Mar 2 2023, 6:53 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38857: bhyve: Init checkpoint before caph_enter().

Rebase on to review https://reviews.freebsd.org/D38872

Mar 2 2023, 6:51 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D35454: bhyve: snapshot capsicum support.
Mar 2 2023, 6:49 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38872: bhyve: Exit with EX_OSERR if init checkpoint or restore time failed.
Mar 2 2023, 6:47 PM · bhyve
gusev.vitaliy_gmail.com edited reviewers for D38857: bhyve: Init checkpoint before caph_enter(), added: jhb; removed: tonym_aai-corp.com, bhyve.
Mar 2 2023, 6:29 PM · bhyve
gusev.vitaliy_gmail.com edited reviewers for D38866: libvmm: Add missed ioctl to vm_ioctl_cmds, added: jhb; removed: tonym_aai-corp.com, bhyve.
Mar 2 2023, 6:28 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38866: libvmm: Add missed ioctl to vm_ioctl_cmds.
Mar 2 2023, 6:28 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38860: bhyve: Enable Capsicum for snapshots.
Mar 2 2023, 6:23 PM · capsicum, bhyve
gusev.vitaliy_gmail.com requested review of D38858: bhyve: Use directory `fd` with checkpoint.
Mar 2 2023, 6:20 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38857: bhyve: Init checkpoint before caph_enter().
Mar 2 2023, 6:15 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38856: bhyve: [snapshot] Add cap limits for ipc socket.
Mar 2 2023, 6:12 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38855: bhyve: [snapshot] Do not flush readonly device at blockif_pause().
Mar 2 2023, 6:09 PM · bhyve

Mar 1 2023

gusev.vitaliy_gmail.com updated the diff for D35454: bhyve: snapshot capsicum support.

Correct 'fd' check:

Mar 1 2023, 9:22 AM · bhyve
gusev.vitaliy_gmail.com added a comment to D35454: bhyve: snapshot capsicum support.

@rew Could you take a look?

Mar 1 2023, 9:09 AM · bhyve
gusev.vitaliy_gmail.com updated the diff for D35454: bhyve: snapshot capsicum support.
Mar 1 2023, 9:07 AM · bhyve
gusev.vitaliy_gmail.com added a reviewer for D35454: bhyve: snapshot capsicum support: corvink.
Mar 1 2023, 9:04 AM · bhyve
gusev.vitaliy_gmail.com updated the diff for D35454: bhyve: snapshot capsicum support.

Update according to https://reviews.freebsd.org/D38836

Mar 1 2023, 9:03 AM · bhyve
gusev.vitaliy_gmail.com requested review of D38836: bhyve: Remove excessive 'err' variable.
Mar 1 2023, 8:59 AM · bhyve

Feb 28 2023

gusev.vitaliy_gmail.com updated the diff for D35454: bhyve: snapshot capsicum support.

Updated to the latest main branch. Open directory at bhyvectl side and pass fd to bhyve so that it can use openat() under capsicum.

Feb 28 2023, 10:20 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D35590: bhyve: multiple devices support for suspend/checkpoint/resume.

up?

Feb 28 2023, 9:29 AM · bhyve

Feb 22 2023

gusev.vitaliy_gmail.com added a comment to D35590: bhyve: multiple devices support for suspend/checkpoint/resume.

@jhb Could you look at this review ?

Feb 22 2023, 5:03 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38474: vmm: TSC offset is broken for resume after a7db532e3a6f 'vmm: Simplify saving ...'.

Could anyone commit it ?

Feb 22 2023, 4:52 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.

Could anyone commit it ?

Feb 22 2023, 4:52 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.

Could anyone commit it ?

Feb 22 2023, 4:51 PM · bhyve

Feb 17 2023

gusev.vitaliy_gmail.com added inline comments to D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 17 2023, 3:25 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.

spinup_vcpu all guest-cpus with suspended state and later resume it. Resume only BSP in case of startup.

Feb 17 2023, 3:18 PM · bhyve

Feb 16 2023

gusev.vitaliy_gmail.com added a comment to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.

@jhb Updated diff accordingly with your note.

Feb 16 2023, 3:35 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.

Removed "vmmops_snapshot" and related code.

Feb 16 2023, 3:34 PM · bhyve

Feb 14 2023

gusev.vitaliy_gmail.com added a comment to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.

@jhb Current things are good enough to proceed?

Feb 14 2023, 10:11 AM · bhyve

Feb 11 2023

gusev.vitaliy_gmail.com added a comment to D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.

@jhb @corvink Please look at updated diff. Is it good enough and perform what you suggested?

Feb 11 2023, 5:35 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 11 2023, 5:34 PM · bhyve

Feb 10 2023

gusev.vitaliy_gmail.com updated subscribers of D35590: bhyve: multiple devices support for suspend/checkpoint/resume.
Feb 10 2023, 9:49 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D35590: bhyve: multiple devices support for suspend/checkpoint/resume.

@jhb Could you review this patch, please? If possible it should be committed, since w/o patch, suspend/resume doesn't work with multi devices.

Feb 10 2023, 9:47 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D35590: bhyve: multiple devices support for suspend/checkpoint/resume.
Feb 10 2023, 9:45 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.
Feb 10 2023, 8:36 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.
Feb 10 2023, 6:39 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.

The commit hash in the review title doesn't match anything in the src repo.

Feb 10 2023, 6:37 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.
Feb 10 2023, 6:37 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D38474: vmm: TSC offset is broken for resume after a7db532e3a6f 'vmm: Simplify saving ...'.
In D38474#875991, @jhb wrote:

A more concise description for the log message might be "actually restore vcpu->tsc_offset".

Feb 10 2023, 6:31 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 10 2023, 6:28 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38474: vmm: TSC offset is broken for resume after a7db532e3a6f 'vmm: Simplify saving ...'.
Feb 10 2023, 6:18 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 10 2023, 6:13 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.
Feb 10 2023, 6:05 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 10 2023, 12:50 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 10 2023, 12:38 PM · bhyve
gusev.vitaliy_gmail.com added inline comments to D38474: vmm: TSC offset is broken for resume after a7db532e3a6f 'vmm: Simplify saving ...'.
Feb 10 2023, 12:31 PM · bhyve
gusev.vitaliy_gmail.com updated the test plan for D38474: vmm: TSC offset is broken for resume after a7db532e3a6f 'vmm: Simplify saving ...'.
Feb 10 2023, 5:14 AM · bhyve
gusev.vitaliy_gmail.com updated the test plan for D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.
Feb 10 2023, 5:13 AM · bhyve
gusev.vitaliy_gmail.com updated the test plan for D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 10 2023, 5:12 AM · bhyve

Feb 9 2023

gusev.vitaliy_gmail.com requested review of D38477: bhyve: Resume fails due to invalid guest state if guest_ncpus > 1.
Feb 9 2023, 11:35 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38476: bhyve: Resume is broken after 39ec056e6dbd 'vmm: Rework snapshotting ...'.
Feb 9 2023, 11:21 PM · bhyve
gusev.vitaliy_gmail.com requested review of D38474: vmm: TSC offset is broken for resume after a7db532e3a6f 'vmm: Simplify saving ...'.
Feb 9 2023, 10:56 PM · bhyve

Nov 21 2022

gusev.vitaliy_gmail.com added inline comments to D37390: vmm: avoid spurios rendezvous.
Nov 21 2022, 3:56 PM

Nov 18 2022

gusev.vitaliy_gmail.com added inline comments to D37417: vmm: remove unneccessary rendezvous assertion.
Nov 18 2022, 12:24 PM
gusev.vitaliy_gmail.com added inline comments to D37417: vmm: remove unneccessary rendezvous assertion.
Nov 18 2022, 10:48 AM

Nov 15 2022

gusev.vitaliy_gmail.com added inline comments to D37390: vmm: avoid spurios rendezvous.
Nov 15 2022, 2:10 PM
gusev.vitaliy_gmail.com added inline comments to D37390: vmm: avoid spurios rendezvous.
Nov 15 2022, 12:20 PM

Oct 21 2022

gusev.vitaliy_gmail.com added a comment to D36244: bhyve: [snapshot] virtio-net features could be not negotiated.

@jhb Could you commit it?

Oct 21 2022, 3:27 PM · bhyve

Oct 19 2022

gusev.vitaliy_gmail.com added a comment to D36244: bhyve: [snapshot] virtio-net features could be not negotiated.

@markj Could you commit it?

Oct 19 2022, 8:19 PM · bhyve

Aug 17 2022

gusev.vitaliy_gmail.com requested review of D36244: bhyve: [snapshot] virtio-net features could be not negotiated.
Aug 17 2022, 4:14 PM · bhyve

Aug 12 2022

gusev.vitaliy_gmail.com added a comment to D35590: bhyve: multiple devices support for suspend/checkpoint/resume.

@jhb up?

Aug 12 2022, 1:16 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D36119: bhyve: Fix uses of uninitialized variables in pci_nvme.c.

I don't see any changes in Makefile or rated. What warnings are you fixing?

In this review, a couple of warnings about uninitialized variables I found by removing the WARNS?=2 line in the Makefile and recompiling pci_nvme.c. D36118 contains fixes for most of the other warnings in that file. Everything else I did so far is not in phabricator yet.

Aug 12 2022, 7:52 AM

Aug 11 2022

gusev.vitaliy_gmail.com added a comment to D36119: bhyve: Fix uses of uninitialized variables in pci_nvme.c.

I don't see any changes in Makefile or rated. What warnings are you fixing?

Aug 11 2022, 5:08 PM

Aug 10 2022

gusev.vitaliy_gmail.com added a comment to D36119: bhyve: Fix uses of uninitialized variables in pci_nvme.c.

what if enable extra warning by default? It would help avoid adding new bugs.

Aug 10 2022, 8:03 PM

Aug 1 2022

gusev.vitaliy_gmail.com added a comment to D29262: Bhyve - Using JSON format for saving and restoring the state.

What is the real purpose for this review? If debugging, I think this is not right way by adding huge amount of new code. I would suggest to remove all json things, remove all SNAPSHOT_VAR_OR_LEAVE and its variations and move basis to nvlist.

Using nvlist is more elegant and simpler, brings ability to extract (dump) all information for debugging, and gives to snapshot/resume dealing with optional parameters, removing some parameters, adding new parameters without breaking "resume" with previously created snapshots.

I've been funding work in collaboration with Mihai Carabas at UPB since 2016. The goal was to attract more developers to the bhyve project and implement suspend/resume with live migration. After the initial patch landed thanks to JHB, we spoke to project leaders about what needed to be done to move the suspend/resume code out from under #ifdef so it could become a generally useful feature. Mihai and I prioritized which projects should receive scholarship funding based on that feedback and engaged students that were willing to further these goals. One of the blocking items was to improve the state file format. This patch was the result of a student project to work on that item. Sadly, there has been little to no review or feedback. As a result, these considerable efforts are wasted, students eventually get frustrated and loose interest in working on FreeBSD projects.

We had a few discussions related to what file format to use. One of the options discussed was to use a format similar to the one used for the basic VM config file. Maybe Mihai can recall more specific details. I just remember that using json was the result of a consensus. If there was a new discussion to reach a new consensus, we'd be thrilled. That would at least be progress.

Aug 1 2022, 6:18 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D29262: Bhyve - Using JSON format for saving and restoring the state.
Aug 1 2022, 3:51 PM · bhyve

Jul 21 2022

gusev.vitaliy_gmail.com added a comment to D35447: vmm: save/restore pir_desc is required for posted-interrupts and VID.

@jhb up?

Jul 21 2022, 11:37 AM · bhyve

Jul 12 2022

gusev.vitaliy_gmail.com added a comment to D35328: bhyve nvme: Fix out-of-bound IOV array access.

This change looks good to me. Is there anything stopping this being merged?
(I'm doing another sync to illumos at the end of the month and I'd like to include this if possible)

Jul 12 2022, 10:03 AM

Jul 5 2022

gusev.vitaliy_gmail.com added a comment to D35719: libvmm: add __BEGIN_DECLS/__END_DECLS for linking with c++ binaries.

@markj Could you approve again and commit?

Jul 5 2022, 7:43 PM · bhyve
gusev.vitaliy_gmail.com updated the diff for D35719: libvmm: add __BEGIN_DECLS/__END_DECLS for linking with c++ binaries.

Corrected include order according to Mark's comment.

Jul 5 2022, 7:42 PM · bhyve
gusev.vitaliy_gmail.com requested review of D35719: libvmm: add __BEGIN_DECLS/__END_DECLS for linking with c++ binaries.
Jul 5 2022, 3:14 PM · bhyve

Jul 1 2022

gusev.vitaliy_gmail.com added a comment to D35447: vmm: save/restore pir_desc is required for posted-interrupts and VID.
In D35447#809008, @jhb wrote:

Ok. Long term Patrick is more correct and we should not be storing this state but instead only trying to store "architectural" state like the APIC page, not the PIR, but I understand why for now we might need to do this.

Jul 1 2022, 9:47 AM · bhyve

Jun 29 2022

gusev.vitaliy_gmail.com added a comment to D35447: vmm: save/restore pir_desc is required for posted-interrupts and VID.

@jhb ping?

Jun 29 2022, 11:33 PM · bhyve

Jun 24 2022

gusev.vitaliy_gmail.com updated the summary of D35590: bhyve: multiple devices support for suspend/checkpoint/resume.
Jun 24 2022, 8:01 PM · bhyve
gusev.vitaliy_gmail.com requested review of D35590: bhyve: multiple devices support for suspend/checkpoint/resume.
Jun 24 2022, 7:57 PM · bhyve

Jun 23 2022

gusev.vitaliy_gmail.com added inline comments to D35575: bhyve: Support Hyper-V (base) and hyperv clock.
Jun 23 2022, 6:40 PM · bhyve