Commit 72fb08f
refactor(migtd): unify mig and rebind buffer
Add init_td_info [u8; 512] field to MigtdMigrationInformation so both
migration and rebinding use the same VMM request buffer layout. Delete
RebindingInfo, InitData, and init_data.rs. Widen policy_v2 cfg gates
that were incorrectly restricted to vmcall-raw only.
Peer-to-peer wire protocol is unchanged.
Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8025c04 commit 72fb08f
10 files changed
Lines changed: 330 additions & 461 deletions
File tree
- src/migtd/src
- bin/migtd
- migration
- spdm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
| 726 | + | |
726 | 727 | | |
727 | | - | |
| 728 | + | |
728 | 729 | | |
729 | 730 | | |
| 731 | + | |
730 | 732 | | |
731 | 733 | | |
732 | 734 | | |
| |||
735 | 737 | | |
736 | 738 | | |
737 | 739 | | |
738 | | - | |
| 740 | + | |
739 | 741 | | |
740 | 742 | | |
741 | 743 | | |
742 | 744 | | |
743 | | - | |
| 745 | + | |
744 | 746 | | |
745 | 747 | | |
746 | 748 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
| |||
260 | 255 | | |
261 | 256 | | |
262 | 257 | | |
263 | | - | |
| 258 | + | |
264 | 259 | | |
265 | 260 | | |
266 | 261 | | |
| |||
269 | 264 | | |
270 | 265 | | |
271 | 266 | | |
272 | | - | |
273 | | - | |
274 | 267 | | |
275 | 268 | | |
276 | 269 | | |
| |||
361 | 354 | | |
362 | 355 | | |
363 | 356 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 357 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
374 | 363 | | |
375 | 364 | | |
376 | 365 | | |
| |||
392 | 381 | | |
393 | 382 | | |
394 | 383 | | |
395 | | - | |
396 | | - | |
397 | 384 | | |
398 | 385 | | |
399 | 386 | | |
| |||
533 | 520 | | |
534 | 521 | | |
535 | 522 | | |
536 | | - | |
| 523 | + | |
537 | 524 | | |
538 | 525 | | |
539 | 526 | | |
| |||
710 | 697 | | |
711 | 698 | | |
712 | 699 | | |
713 | | - | |
| 700 | + | |
714 | 701 | | |
715 | 702 | | |
716 | 703 | | |
| |||
750 | 737 | | |
751 | 738 | | |
752 | 739 | | |
| 740 | + | |
| 741 | + | |
753 | 742 | | |
754 | 743 | | |
755 | 744 | | |
| |||
This file was deleted.
0 commit comments