-
Notifications
You must be signed in to change notification settings - Fork 187
qemu:Use QMP to set bootindex dynamically #1348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Prashanth684 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Taking a stab at @cgwalters suggestion from #1336 |
|
@cgwalters or somebody - could you help me with updating the vendor for |
What error were you specifically seeing? |
|
I'm not seeing any changes to
right? |
When I do a |
Hmm..Ok sorry I think I misunderstood your initial comment then - i did this change just from the perspective of setting the bootindex dynamically so the s390x testiso would work. Would it be possible that we can make the change incrementally and I will let you/someone else pick up the rest of the changes? |
Yep #1336 (comment) |
Opened #1350. Couldn't reopen the old one as i had already rebased it. sorry for the back and forth. |
The |
Ok..i can do that..but is there a way through go mod to just add a single dependent package? not sure there is. |
If you mean bumping the version only for a specific package of the larger library (thus leaving the other packages at a different version) then to my knowledge there isn't a way. If you mean adding only a specific package from a library then there should be, iirc it only adds the packages being used from a library. |
|
Using QMP to change the bootindex is nice! I think this also allows us to stop special-casing s390x as done in #1350, right? (See also #1350 (comment)). |
With this change the bootindex is changed dynamically rather than being statically fed in during VM creation. One of the problematic areas was s390x where the network device needs to have bootindex 1 but on subsequent boots it needs to boot from disk. This helps in that situation of not setting a bootindex for the primary disk initially but setting it later to avoid the bootindex conflict.
Correct. But this is just a part of the bigger changes that @cgwalters is suggesting above |
Thanks! was able to pull just that module in and got it to work. |
Or, more closely matching Foreman/Ironic etc. - run a webserver on the host and have it accept a |
@cgwalters i'm afraid i need some clarity on this. I think my understanding is not sufficient. I thought setting the bootindex in the |
|
No worries; I can take this at some point hopefully soon. Thanks for starting this!
To dynamically switch the boot order after an install is complete, before the reboot. |
|
@Prashanth684: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
With this change the bootindex is changed dynamically rather than being statically fed in during VM creation.
One of the problematic areas was s390x where the network device needs to have bootindex 1 but on subsequent boots
it needs to boot from disk. This helps in that situation of not setting a bootindex for the primary disk initially
but setting it later to avoid the bootindex conflict.