Commit 566082e
committed
Change hot-plug API endpoint
Change from `add` to `target`. The user now supplies the number of vCPUs
they would like to reach, rather than the number of vCPUs to add to the
system. Obviously to make this work, hot-unplug functionality is needed
as well.
Examples:
- Currently 1 vCPU, would like 16 vCPUs: target = 16
- Currently 32 vCPUs, would like 2 vCPUs: target = 2
Signed-off-by: James Curtis <[email protected]>1 parent a541725 commit 566082e
2 files changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
| 618 | + | |
627 | 619 | | |
628 | 620 | | |
629 | 621 | | |
630 | 622 | | |
631 | | - | |
| 623 | + | |
632 | 624 | | |
633 | 625 | | |
634 | | - | |
| 626 | + | |
635 | 627 | | |
636 | 628 | | |
637 | 629 | | |
638 | 630 | | |
639 | 631 | | |
640 | 632 | | |
641 | 633 | | |
642 | | - | |
| 634 | + | |
643 | 635 | | |
644 | 636 | | |
645 | 637 | | |
| |||
666 | 658 | | |
667 | 659 | | |
668 | 660 | | |
669 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
670 | 665 | | |
671 | 666 | | |
672 | 667 | | |
| |||
686 | 681 | | |
687 | 682 | | |
688 | 683 | | |
| 684 | + | |
689 | 685 | | |
690 | 686 | | |
691 | 687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
0 commit comments