Skip to content
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

Support size and emergency write features on VirtIOConsole #156

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

qwandor
Copy link
Collaborator

@qwandor qwandor commented Aug 6, 2024

I've replaced the info method with a new method size, which properly checks the supported features before reading the config space. There wasn't much point reading max_ports when the driver doesn't support multiple ports anyway.

@qwandor qwandor requested review from chyyuu and equation314 August 6, 2024 13:24
@qwandor qwandor requested a review from wangrunji0408 August 8, 2024 13:07
console_info wasn't checking supported features before reading the
config space, and max_ports isn't much use when the driving doesn't
support multiple ports.
@qwandor qwandor merged commit 4a4170d into master Oct 22, 2024
6 checks passed
@qwandor qwandor deleted the console_features branch October 22, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant