Page MenuHomeFreeBSD
Feed Advanced Search

Sep 15 2023

manu accepted D41869: sysutils/edk2: enable secure boot on bhyve.
Sep 15 2023, 10:19 AM · bhyve
manu accepted D41868: sysutils/edk2: enable TPM on bhyve.

If you don't configure a TPM device for your VM, the TPM driver refuses to start and the boot wents on properly.

Sep 15 2023, 10:19 AM · bhyve
corvink added a comment to D41868: sysutils/edk2: enable TPM on bhyve.

If you don't configure a TPM device for your VM, the TPM driver refuses to start and the boot wents on properly.

Sep 15 2023, 10:10 AM · bhyve
corvink added a project to D41869: sysutils/edk2: enable secure boot on bhyve: bhyve.
Sep 15 2023, 10:05 AM · bhyve
manu added a comment to D41868: sysutils/edk2: enable TPM on bhyve.

Would that break something on FreeBSD < 14 ?

Sep 15 2023, 9:58 AM · bhyve
corvink updated the diff for D41868: sysutils/edk2: enable TPM on bhyve.
  • bump portrevision
Sep 15 2023, 9:52 AM · bhyve
corvink requested review of D41868: sysutils/edk2: enable TPM on bhyve.
Sep 15 2023, 9:52 AM · bhyve

Sep 11 2023

corvink added a comment to D41778: bhyve: always generate ACPI tables.

The bhyve manual page needs to be updated as well.

Would -o acpi_tables=false still work to restore the old behaviour, if one wanted?

Sep 11 2023, 5:49 AM · bhyve
corvink updated the diff for D41778: bhyve: always generate ACPI tables.
  • update man page
Sep 11 2023, 5:49 AM · bhyve

Sep 8 2023

markj added a comment to D41778: bhyve: always generate ACPI tables.

The bhyve manual page needs to be updated as well.

Sep 8 2023, 2:06 PM · bhyve
corvink requested review of D41778: bhyve: always generate ACPI tables.
Sep 8 2023, 6:59 AM · bhyve
corvink closed D41769: OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory.
Sep 8 2023, 6:54 AM · bhyve

Sep 7 2023

manu accepted D41769: OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory.
Sep 7 2023, 9:53 AM · bhyve
corvink updated the diff for D41769: OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory.
  • bump portrevision
Sep 7 2023, 9:15 AM · bhyve
manu requested changes to D41769: OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory.

You need to bump PORTREVISION in edk2/Makefile otherwise package will not be upgraded.

Sep 7 2023, 8:58 AM · bhyve
madpilot accepted D41769: OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory.

Tested here and it fixes the issue at hand, LGTM.

Sep 7 2023, 8:44 AM · bhyve
corvink requested review of D41769: OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory.
Sep 7 2023, 8:40 AM · bhyve

Sep 4 2023

corvink requested review of D41714: OvmfPkg/BhyvePkg: add PlatformGopPolicy driver.
Sep 4 2023, 6:55 AM · bhyve
corvink requested review of D41713: OvmfPkg/PlatformGopPolicy: implement GetVbtData.
Sep 4 2023, 6:54 AM · bhyve
corvink requested review of D41712: OvmfPkg/PlatformGopPolicy: add PlatformGopPolicy driver.
Sep 4 2023, 6:54 AM · bhyve
corvink requested review of D41711: OvmfPkg/Include: add OpRegion definitions.
Sep 4 2023, 6:53 AM · bhyve
corvink requested review of D41710: OvmfPkg/BhyvePkg: reserve igd memory by E820.
Sep 4 2023, 6:52 AM · bhyve

Aug 17 2023

corvink closed D32961: bhyve: enable TPM2 passthrough.
Aug 17 2023, 7:09 AM · bhyve

Aug 16 2023

markj accepted D32961: bhyve: enable TPM2 passthrough.
In D32961#944105, @jhb wrote:

I think to address Mark's concern you would just need to have a tpm_init with the new code currently added to lpc_init. I would perhaps suggest that we need a init_devices function called from main that would call init_pci and then this new tpm_init. Eventually we might want to have a linker set or C++ constructors or something for device models to register init routines, but for now just adding a static call to tpm_init would be ok.

Aug 16 2023, 8:35 PM · bhyve

Aug 15 2023

corvink updated the summary of D32961: bhyve: enable TPM2 passthrough.
Aug 15 2023, 9:33 AM · bhyve
corvink updated the diff for D32961: bhyve: enable TPM2 passthrough.
  • create a init_devices and init_tpm function
Aug 15 2023, 7:40 AM · bhyve

Aug 14 2023

jhb added a comment to D32961: bhyve: enable TPM2 passthrough.

I think to address Mark's concern you would just need to have a tpm_init with the new code currently added to lpc_init. I would perhaps suggest that we need a init_devices function called from main that would call init_pci and then this new tpm_init. Eventually we might want to have a linker set or C++ constructors or something for device models to register init routines, but for now just adding a static call to tpm_init would be ok.

Aug 14 2023, 8:21 PM · bhyve
corvink added inline comments to D32961: bhyve: enable TPM2 passthrough.
Aug 14 2023, 8:25 AM · bhyve
corvink updated the summary of D32961: bhyve: enable TPM2 passthrough.
Aug 14 2023, 8:22 AM · bhyve
corvink updated the diff for D32961: bhyve: enable TPM2 passthrough.
  • mention supported tpm types in man page
Aug 14 2023, 8:22 AM · bhyve

Aug 11 2023

markj added inline comments to D32961: bhyve: enable TPM2 passthrough.
Aug 11 2023, 3:34 PM · bhyve

Aug 10 2023

corvink updated subscribers of D32961: bhyve: enable TPM2 passthrough.

@jhb @markj Any additional comments?

Aug 10 2023, 7:25 AM · bhyve

Jul 25 2023

corvink closed D40804: bhyvectl: Add '--get-debug-cpus' command.
Jul 25 2023, 12:52 PM · bhyve

Jul 21 2023

editor_callfortesting.org added a watcher for bhyve: editor_callfortesting.org.
Jul 21 2023, 8:17 PM

Jul 13 2023

corvink added inline comments to D32961: bhyve: enable TPM2 passthrough.
Jul 13 2023, 8:23 AM · bhyve
corvink updated the diff for D32961: bhyve: enable TPM2 passthrough.
  • improve man page
Jul 13 2023, 8:20 AM · bhyve

Jun 30 2023

jhb accepted D40804: bhyvectl: Add '--get-debug-cpus' command.

Originally the debug_cpus mask was only used for vCPUs stopped while the debug stub was active and in a stop, so it didn't seem worth adding to bhyvectl at the time. Over time it has been reused for other things (snapshots and now idle APs).

Jun 30 2023, 4:12 PM · bhyve
corvink accepted D40804: bhyvectl: Add '--get-debug-cpus' command.
Jun 30 2023, 5:43 AM · bhyve

Jun 29 2023

gusev.vitaliy_gmail.com requested review of D40804: bhyvectl: Add '--get-debug-cpus' command.
Jun 29 2023, 9:58 PM · bhyve

Jun 23 2023

markj added inline comments to D32961: bhyve: enable TPM2 passthrough.
Jun 23 2023, 3:09 PM · bhyve
corvink added a comment to D34717: Warm Migration feature for bhyve [Part 1].

I do agree, that this patch series does things in the wrong order. It would be better to add the cmdline parameter and especially the manpage entry as last step. So, I'm going to revert this commit.

Sounds fair. I can move the parameters and manpage stuff to the last parts. Would you prefer splitting the warm and live migration parameters in different parts as well?

Jun 23 2023, 5:39 AM · bhyve
corvink added a comment to D34720: Warm Migration feature for bhyve [Part 4].

There are some patches in flight for using a nvlist for snapshot/restore. Wouldn't it be better to use it for migration too?
So, the sender could send a nvlist which contains information about all sections like memory, kern_structs etc. After that, both (sender and reciever) can send/recv all sections mentioned in the nvlist.

Sounds good. Could you point me to those patches, please?

Jun 23 2023, 5:34 AM · bhyve

Jun 22 2023

mihaiburcea15_gmail.com added a comment to D34717: Warm Migration feature for bhyve [Part 1].

I do agree, that this patch series does things in the wrong order. It would be better to add the cmdline parameter and especially the manpage entry as last step. So, I'm going to revert this commit.

Jun 22 2023, 6:53 PM · bhyve
mihaiburcea15_gmail.com added a comment to D34720: Warm Migration feature for bhyve [Part 4].

There are some patches in flight for using a nvlist for snapshot/restore. Wouldn't it be better to use it for migration too?
So, the sender could send a nvlist which contains information about all sections like memory, kern_structs etc. After that, both (sender and reciever) can send/recv all sections mentioned in the nvlist.

Jun 22 2023, 6:53 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

I suppose that fixing existing issues and make the code stable is more important for now.

Jun 22 2023, 6:36 PM · bhyve

Jun 21 2023

gusev.vitaliy_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

Do you already have a migration feature/tool implemented (bmigrate)? If so, please let us know if you plan to make it available in the future.

Jun 21 2023, 8:28 AM · bhyve
corvink added a reverting change for D34717: Warm Migration feature for bhyve [Part 1]: rG1e8d0c6cf644: Revert "bhyve: add command line parameter and parsing for migration".
Jun 21 2023, 7:05 AM · bhyve
corvink added a comment to D34718: Warm Migration feature for bhyve [Part 2].

I think we should bring support for snapshots first. And enable BHYVE_SNAPSHOT by default.

To do this, it remains to agree on the snapshot format: https://lists.freebsd.org/archives/freebsd-virtualization/2023-May/001295.html

Jun 21 2023, 6:31 AM · bhyve
corvink added a comment to D34717: Warm Migration feature for bhyve [Part 1].

Would be really nice to receive some feedback before it's committed ...
Just a short comment would be enough.

Jun 21 2023, 6:28 AM · bhyve
elenamihailescu22_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

So instead of having a lot code in bhyve, I would suggest to have portion of primitives that can help to implement warm, live migration outside of bhyve process.

Wait. You're casually suggesting that years of work be discarded in favor of an alternate approach. Please be more specific about what you perceive to be the problem with the method taken in this patch series. "I have another idea" isn't a very good reason to go in a completely different direction.

Suggestion was about to help you to move to the right direction. I understand that this patch series ate time to implement, but it should be not just reason to integrate it into bhyve. Do you agree? Instead, I would talk about better implementation with more robust approach.

I suppose the following reasons to discuss about this patch-series:

  1. Snapshot/resume code was totally thrown and "implementing team" forget about the code since it was integrated in 2020. Yes, it was a good job, but it was incomplete and has a lot of issues and nobody wants to fix them.
  2. Who will support integrated code ? This patch-series has a lot code and it potentially has bugs. Will it be the same story just integrate something and forget about code, i.e. do not participate in bug fixing?
  3. Instead of adding a lot of code to bhyve, it is better to place code outside from bhyve source, to make bhyve pretty small and secure.
  4. Warm/Live migrations can have different steps and requirements, hooks, etc. For example, it can be done with storage migration (Storage vMotion) or without, with additional tunning VM like vCPU slowdown or without. And better place for implementing those is another program that will handle all needed requirements and functionalities.

Correct me, if I see something wrong.

Jun 21 2023, 6:15 AM · bhyve

Jun 20 2023

gusev.vitaliy_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

So instead of having a lot code in bhyve, I would suggest to have portion of primitives that can help to implement warm, live migration outside of bhyve process.

Wait. You're casually suggesting that years of work be discarded in favor of an alternate approach. Please be more specific about what you perceive to be the problem with the method taken in this patch series. "I have another idea" isn't a very good reason to go in a completely different direction.

Jun 20 2023, 11:27 PM · bhyve
darius.mihaim_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

We consider that the migration part is a must-have feature for a mature hypervisor and we really want to have it for bhyve. The end goal is to have a live migration feature for bhyve. It means inspecting the guest memory pages to check for changes between rounds. It also modifies a dirty bit. The inspection (and changes) should be done from within the bhyve process. I'm not sure how this part should be tackled in your suggestion. However, please keep in mind that this approach was discussed with the bhyve's maintainers 4 years ago. We asked for advice and came up with this idea of having a custom dirty bit for migration.

I don't see any problem with that. I will open review with possibility to get diff pages.

So instead of having a lot code in bhyve, I would suggest to have portion of primitives that can help to implement warm, live migration outside of bhyve process.

Jun 20 2023, 8:38 PM · bhyve
mgrooms_shrew.net added a comment to D34718: Warm Migration feature for bhyve [Part 2].

We consider that the migration part is a must-have feature for a mature hypervisor and we really want to have it for bhyve. The end goal is to have a live migration feature for bhyve. It means inspecting the guest memory pages to check for changes between rounds. It also modifies a dirty bit. The inspection (and changes) should be done from within the bhyve process. I'm not sure how this part should be tackled in your suggestion. However, please keep in mind that this approach was discussed with the bhyve's maintainers 4 years ago. We asked for advice and came up with this idea of having a custom dirty bit for migration.

I don't see any problem with that. I will open review with possibility to get diff pages.

So instead of having a lot code in bhyve, I would suggest to have portion of primitives that can help to implement warm, live migration outside of bhyve process.

Jun 20 2023, 8:22 PM · bhyve
mgrooms_shrew.net added a comment to D34717: Warm Migration feature for bhyve [Part 1].

It's pretty simple: The most constructive way to help a review process is to provide feedback on the proposed code changes.

Jun 20 2023, 7:37 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

We consider that the migration part is a must-have feature for a mature hypervisor and we really want to have it for bhyve. The end goal is to have a live migration feature for bhyve. It means inspecting the guest memory pages to check for changes between rounds. It also modifies a dirty bit. The inspection (and changes) should be done from within the bhyve process. I'm not sure how this part should be tackled in your suggestion. However, please keep in mind that this approach was discussed with the bhyve's maintainers 4 years ago. We asked for advice and came up with this idea of having a custom dirty bit for migration.

Jun 20 2023, 7:20 PM · bhyve
elenamihailescu22_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

The *live* migration must be part of bhyve, as the migration process must transfer the virtual machine's memory from one host to the other while the virtual machine runs on the original host.

Of course, some changes to the migration code are unavoidable in case the snapshot process changes in some particular ways, but they should remain minimal in my expectations.

I believe that migration code can be outside of bhyve process even with warm or live migration. Really, suppose to have bmigrate process written in C, shell, python (high level language):

a. bhyve dumps diff-pages to a file1.
b. bmigrate sends data to host2 or just places on shared storage
c. bmigrate calls bhyve to suspend without memory.
d. bmigrate sends suspended data to host2. and restore memory 1-st iteration on host2.
e. bmigrate calls vmm to dump diff-pages to file2.
f. bmigrate sends diff-pages to host2 and restore 2-st iteration.
g. bmigrate restore process on host2.

This is rough idea, but it should work w/o adding a lot of code to bhyve.

The same is for warm migration. Why this code should be in bhyve? All states, cpus, etc. could be tracked outside of bhyve.

Jun 20 2023, 6:19 PM · bhyve
darius.mihaim_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

The *live* migration must be part of bhyve, as the migration process must transfer the virtual machine's memory from one host to the other while the virtual machine runs on the original host.

Of course, some changes to the migration code are unavoidable in case the snapshot process changes in some particular ways, but they should remain minimal in my expectations.

I believe that migration code can be outside of bhyve process even with warm or live migration. Really, suppose to have bmigrate process written in C, shell, python (high level language):

a. bhyve dumps diff-pages to a file1.
b. bmigrate sends data to host2 or just places on shared storage
c. bmigrate calls bhyve to suspend without memory.
d. bmigrate sends suspended data to host2. and restore memory 1-st iteration on host2.
e. bmigrate calls vmm to dump diff-pages to file2.
f. bmigrate sends diff-pages to host2 and restore 2-st iteration.
g. bmigrate restore process on host2.

This is rough idea, but it should work w/o adding a lot of code to bhyve.

The same is for warm migration. Why this code should be in bhyve? All states, cpus, etc. could be tracked outside of bhyve.

Jun 20 2023, 6:17 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

The *live* migration must be part of bhyve, as the migration process must transfer the virtual machine's memory from one host to the other while the virtual machine runs on the original host.

Of course, some changes to the migration code are unavoidable in case the snapshot process changes in some particular ways, but they should remain minimal in my expectations.

Jun 20 2023, 5:51 PM · bhyve
darius.mihaim_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

I think we should bring support for snapshots first. And enable BHYVE_SNAPSHOT by default.

To do this, it remains to agree on the snapshot format: https://lists.freebsd.org/archives/freebsd-virtualization/2023-May/001295.html

I'm not sure whether to tie the transfer of the memory dump to the TCP.

Or add an opportunity similar to 'zfs send' to be independent of transport. For example, share a memory image using SSH or NFS.

Not sure how the transfer would be *tied* to the TCP protocol just by having the implementation use TCP by default. Many tools like curl, socat and browsers have figured out that you can use URIs to specify protocols and even authentication when connecting to a service. The migration parameters can be extended to use ssh://, file:/// or even the basic - for piping the binary data to standard output.

I think asking this question more than one year after this review has been open, and more than two after the original review (https://reviews.freebsd.org/D28270) was created is simply meant to delay accepting the changes. I understand that having a good and secure code base is a must, but this change simply asks for "why don't we over engineer this part which has very little to do with the actual virtual machine migration process?", without actually providing a good case for "this is not up to the BSD standards".

I had review (D35590) that was opened about a year. This is fix for current snapshot implementation. We are talking about two things:

  1. Why this feature cannot be done outside of bhyve?
  2. Who will do fixing if this migration review(s) becomes committed?

I suppose, both questions should answered before committing those changes. Because even without this migration additions, current snapshot implementation still has a lot of bugs and, I believe, they should be fixed first before add new functionality for snapshot/resume.

Jun 20 2023, 5:33 PM · bhyve
rew updated subscribers of D34717: Warm Migration feature for bhyve [Part 1].

I can't tell you how disappointing it is to see comments like this after a review sits in public review for months. You could have easily voiced any of these concerns during the time leading up to the commit instead of withholding them until after it was made. What exactly is your goal hear?

Jun 20 2023, 5:23 PM · bhyve
gusev.vitaliy_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

I think we should bring support for snapshots first. And enable BHYVE_SNAPSHOT by default.

To do this, it remains to agree on the snapshot format: https://lists.freebsd.org/archives/freebsd-virtualization/2023-May/001295.html

I'm not sure whether to tie the transfer of the memory dump to the TCP.

Or add an opportunity similar to 'zfs send' to be independent of transport. For example, share a memory image using SSH or NFS.

Not sure how the transfer would be *tied* to the TCP protocol just by having the implementation use TCP by default. Many tools like curl, socat and browsers have figured out that you can use URIs to specify protocols and even authentication when connecting to a service. The migration parameters can be extended to use ssh://, file:/// or even the basic - for piping the binary data to standard output.

I think asking this question more than one year after this review has been open, and more than two after the original review (https://reviews.freebsd.org/D28270) was created is simply meant to delay accepting the changes. I understand that having a good and secure code base is a must, but this change simply asks for "why don't we over engineer this part which has very little to do with the actual virtual machine migration process?", without actually providing a good case for "this is not up to the BSD standards".

Jun 20 2023, 5:19 PM · bhyve
darius.mihaim_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

I think we should bring support for snapshots first. And enable BHYVE_SNAPSHOT by default.

To do this, it remains to agree on the snapshot format: https://lists.freebsd.org/archives/freebsd-virtualization/2023-May/001295.html

I'm not sure whether to tie the transfer of the memory dump to the TCP.

Or add an opportunity similar to 'zfs send' to be independent of transport. For example, share a memory image using SSH or NFS.

Jun 20 2023, 5:04 PM · bhyve
afedorov added a comment to D34717: Warm Migration feature for bhyve [Part 1].

@elenamihailescu22_gmail.com , I really respect your work and what you have done.

Jun 20 2023, 5:03 PM · bhyve
elenamihailescu22_gmail.com added a comment to D34718: Warm Migration feature for bhyve [Part 2].

Before proceed this work to commit, could you provide high level design for this approach ?

Jun 20 2023, 4:42 PM · bhyve
afedorov added a reviewer for D34718: Warm Migration feature for bhyve [Part 2]: rew.
Jun 20 2023, 4:41 PM · bhyve
elenamihailescu22_gmail.com added a comment to D34717: Warm Migration feature for bhyve [Part 1].

@corvink , I think this commit is too early. Because we haven't finished supporting snapshots, but this commit already fixes the user interface for live migration, which is not finished at all.

Sorry for the late comment, but maybe this commit should be rolled back?

Jun 20 2023, 4:17 PM · bhyve
mgrooms_shrew.net added a comment to D34718: Warm Migration feature for bhyve [Part 2].

Before proceed this work to commit, could you provide high level design for this approach ?

Jun 20 2023, 4:03 PM · bhyve
mgrooms_shrew.net added a comment to D34717: Warm Migration feature for bhyve [Part 1].
In D34717#925255, @rew wrote:

@corvink , I think this commit is too early. Because we haven't finished supporting snapshots, but this commit already fixes the user interface for live migration, which is not finished at all.

Sorry for the late comment, but maybe this commit should be rolled back?

This was more of a drive-by commit than anything else - it contains dead code, duplicated code, and code that's been commented out.

Jun 20 2023, 3:52 PM · bhyve
rew added a comment to D34717: Warm Migration feature for bhyve [Part 1].

@corvink , I think this commit is too early. Because we haven't finished supporting snapshots, but this commit already fixes the user interface for live migration, which is not finished at all.

Sorry for the late comment, but maybe this commit should be rolled back?

Jun 20 2023, 3:30 PM · bhyve
rew added a comment to D34718: Warm Migration feature for bhyve [Part 2].

I think we should bring support for snapshots first. And enable BHYVE_SNAPSHOT by default.

Jun 20 2023, 3:23 PM · bhyve
afedorov added reviewers for D34718: Warm Migration feature for bhyve [Part 2]: markj, jhb.
Jun 20 2023, 2:53 PM · bhyve
afedorov added a comment to D34717: Warm Migration feature for bhyve [Part 1].

@corvink , I think this commit is too early. Because we haven't finished supporting snapshots, but this commit already fixes the user interface for live migration, which is not finished at all.

Jun 20 2023, 2:48 PM · bhyve
afedorov requested changes to D34718: Warm Migration feature for bhyve [Part 2].

I think we should bring support for snapshots first. And enable BHYVE_SNAPSHOT by default.

Jun 20 2023, 2:40 PM · bhyve
afedorov added a reviewer for D34719: Warm Migration feature for bhyve [Part 3]: afedorov.
Jun 20 2023, 1:26 PM · bhyve
afedorov added a reviewer for D34718: Warm Migration feature for bhyve [Part 2]: afedorov.
Jun 20 2023, 12:13 PM · bhyve
gusev.vitaliy_gmail.com requested changes to D34719: Warm Migration feature for bhyve [Part 3].

The same for this review. Is it really required to place this code into bhyve or it can be added to upper layer, for example to bhyvectl?

Jun 20 2023, 11:42 AM · bhyve
gusev.vitaliy_gmail.com added inline comments to D34718: Warm Migration feature for bhyve [Part 2].
Jun 20 2023, 11:41 AM · bhyve
gusev.vitaliy_gmail.com requested changes to D34718: Warm Migration feature for bhyve [Part 2].

Before proceed this work to commit, could you provide high level design for this approach ?

Jun 20 2023, 11:35 AM · bhyve

Jun 19 2023

corvink added a comment to D34720: Warm Migration feature for bhyve [Part 4].

There are some patches in flight for using a nvlist for snapshot/restore. Wouldn't it be better to use it for migration too?
So, the sender could send a nvlist which contains information about all sections like memory, kern_structs etc. After that, both (sender and reciever) can send/recv all sections mentioned in the nvlist.

Jun 19 2023, 7:30 AM · bhyve
corvink accepted D34719: Warm Migration feature for bhyve [Part 3].
Jun 19 2023, 7:22 AM · bhyve
corvink added a comment to D34718: Warm Migration feature for bhyve [Part 2].

One additional thought: What do you think about sending e.g. a nvlist for the spec check? A nvlist would be more flexible for future addition.

Jun 19 2023, 7:17 AM · bhyve
corvink accepted D34718: Warm Migration feature for bhyve [Part 2].
Jun 19 2023, 7:15 AM · bhyve
corvink closed D34717: Warm Migration feature for bhyve [Part 1].
Jun 19 2023, 6:55 AM · bhyve
corvink closed D35590: bhyve: multiple devices support for suspend/checkpoint/resume.

Closed by D40109 381ef27d7b7f9d9130b6b308d1d598d093d7cfba

Jun 19 2023, 6:01 AM · bhyve
corvink closed D40109: bhyve: [snapshot] Use pci_next() to save/restore pci devices.
Jun 19 2023, 6:00 AM · bhyve
corvink closed D40108: bhyve: [snapshot] Add .pe_snapshot method for PCI 'hostbridge'.
Jun 19 2023, 6:00 AM · bhyve
corvink closed D40107: bhyve: pci_devinst.pi_name should contain bus, slot, func.
Jun 19 2023, 6:00 AM · bhyve
corvink closed D40106: bhyve: [snapshot] Rename 'user_dev' with 'devices'.
Jun 19 2023, 5:59 AM · bhyve
corvink closed D40104: bhyve: [snapshot] Rename 'structs' key with 'kern_structs'.
Jun 19 2023, 5:59 AM · bhyve
corvink closed D40105: bhyve: [snapshot] Simplify restore kernel structs.
Jun 19 2023, 5:59 AM · bhyve

Jun 16 2023

corvink closed D26209: GVT-d support for bhyve.
Jun 16 2023, 6:16 AM · bhyve

Jun 14 2023

gusev.vitaliy_gmail.com added a comment to D40105: bhyve: [snapshot] Simplify restore kernel structs.
In D40105#923164, @jhb wrote:

Can you provide some before/after JSON snippets?

Jun 14 2023, 11:22 PM · bhyve
jhb added a comment to D40105: bhyve: [snapshot] Simplify restore kernel structs.

Can you provide some before/after JSON snippets?

Jun 14 2023, 11:04 PM · bhyve
mihaiburcea15_gmail.com updated the diff for D34811: Live Migration feature for bhyve [Part 2].
Jun 14 2023, 3:30 PM · bhyve
mihaiburcea15_gmail.com updated the diff for D34722: Live Migration feature for bhyve [Part 1].
Jun 14 2023, 3:30 PM · bhyve
mihaiburcea15_gmail.com updated the diff for D34721: Warm Migration feature for bhyve [Part 5].
Jun 14 2023, 3:29 PM · bhyve
mihaiburcea15_gmail.com updated the diff for D34720: Warm Migration feature for bhyve [Part 4].
Jun 14 2023, 3:27 PM · bhyve
mihaiburcea15_gmail.com updated the diff for D34719: Warm Migration feature for bhyve [Part 3].
Jun 14 2023, 3:26 PM · bhyve
mihaiburcea15_gmail.com updated the diff for D34718: Warm Migration feature for bhyve [Part 2].
Jun 14 2023, 3:22 PM · bhyve
mihaiburcea15_gmail.com added inline comments to D34717: Warm Migration feature for bhyve [Part 1].
Jun 14 2023, 3:20 PM · bhyve