-
Notifications
You must be signed in to change notification settings - Fork 17
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
V4H domain reboot #219
V4H domain reboot #219
Conversation
|
||
mfis_data->domains[chan] = d; | ||
|
||
printk("MFIS: Added chan %d for domain %d\n", chan, d->domain_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log level INFO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
||
return -ENOENT; | ||
printk("MFIS: Removed chan %d for domain %d\n", chan, d->domain_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log level INFO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
It seems like a minor misprint in the second commit message: 'otherend.' |
A prerequisite patch for implementing domain restart. Also fix misc issues which I have found during refactoring. Such as validating vgic_reserve_virq() to return a boolean with true being a success value, checking the page to be a non-zero value before releasing as a guest specifying PA above 4GB can crash Xen, iterate, and checking the rproc channel against rproc_data->vq_cnt instead of mfis_data->chan_cnt, adding missing __init annotation, etc. The current diff looks non-ideal, but refer to the subsequent commit which diff looks much more cleaner. Signed-off-by: Oleksandr Tyshchenko <[email protected]>
Add specific events to notify otherend when rproc-enabled domain is created or destroyed. Waiting for the ack or otherwise when sending these events from mfis_add_domain()/mfis_remove_domain() (not a hot path). Signed-off-by: Oleksandr Tyshchenko <[email protected]>
405b506
to
41e7453
Compare
Tested with xl destroy/create and xl reboot, w/ and w/o GPU rendering app/modetest running using custom reduced DomU (with rproc/rvgc and GPU only). No issues were observed. After DomU restart, everything remains working in the context of Shared display feature.