-
Notifications
You must be signed in to change notification settings - Fork 119
include, block: add krun_add_disk3 API
#452
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
base: main
Are you sure you want to change the base?
Conversation
8357725 to
b514cfc
Compare
b514cfc to
e66330e
Compare
e66330e to
0b38daa
Compare
tylerfanelli
left a comment
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.
On non macOS targets, should we define the API to just return EINVAL?
On a non-macOS target it will be a compile-time error. IMO this better than a runtime error so it's clear it's not even an option, but if you think it should be a runtime error I'd love to hear your reasoning |
|
Hm... I think I would favor a more generic approach, implementing a
|
Ah, ok I see now. I'll do that instead. Thanks |
0b38daa to
02a6833
Compare
Signed-off-by: Jake Correnti <[email protected]>
02a6833 to
b42062a
Compare
krun_enable_relaxed_sync_for_disk APIkrun_add_disk3 API
Add the
krun_add_disk3API that allows users to explicitly configure the sync and cache mode for a virtio-blk device.This is a followup to #428