vm_arm, trivial: align serial inputs to vm number#40
Conversation
| time_server.simple = true; | ||
|
|
||
| #define PER_VM_VIRTUAL_SERIAL_CONFIGURATION_DEF(num) \ | ||
| vm##num.serial_getchar_attributes = num; \ |
There was a problem hiding this comment.
This same approach could be used for the output channels to ensure that the guests are always assigned the same colors?
There was a problem hiding this comment.
It could, yeah. But I haven't seen that behavior like I was seeing with the getchar.
|
@kent-mcleod is this good to merge? |
This is coupled to seL4/global-components#40, so is currently blocked by it. |
This commit ensures the VM->Serial Server connection has the same attributes on per-build basis. "+1" is added to each attribute such that VM0 doesn't have a 0 badge, which is the same as having no badge. Signed-off-by: Chris Guikema <chris.guikema@dornerworks.com>
b9cdfb9 to
36aaaec
Compare
This is merged now, so anything still blocking the merge now? |
I recall I tried to explain somewhere that using the VM ID as the serial sever client ID on the interfaces wasn't the right approach hence why I hadn't approved it. |
|
Ah, sorry, was a bit too quick on this one. Should we revert? |
Yes I think so. seL4/global-components#45 is what this PR was associated with. |
|
Ok, will push a revert. |
|
Reverted in d45e30b. I don't think there is an option to re-open the PR, so we'll have to raise a new one when it is figured out what should be done. |
Sets getchar_clients to be their VM number.
Test with: seL4/global-components#40