You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: do not redefine x86 constant in test_vsock_bof
This test is all about testing what happens when a vsock driver places
virtio buffers close to / around the MMIO gap on x86_64 systems. Since
this test thus doesn't really serve a purpose on aarch64, we can just
cfg(target_arch = "x86_64") it, and reuse the constants from
arch::x86_64 instead of redefining them again.
fwiw, I have no idea what "bof" means. I'm also confused by this test
passing on ARM in the first place, given that some of the comments
indicate to me that it should fail if the buffers overlap the mmio gap
(which doesn't exist on arm, so nothing should fail?).
Signed-off-by: Patrick Roy <[email protected]>
0 commit comments