#
1.6 |
|
24-May-2024 |
jsg |
remove unneeded includes
|
#
1.5 |
|
14-May-2024 |
jsg |
remove prototypes with no matching function
|
#
1.4 |
|
13-May-2024 |
jsg |
remove prototypes with no matching function ok mpi@
|
Revision tags: OPENBSD_7_4_BASE OPENBSD_7_5_BASE
|
#
1.3 |
|
29-May-2023 |
sf |
virtio: Set DRIVER_OK earlier
The DRIVER_OK bit must be set before using any virt-queues. To allow virtio device drivers to use the virt-queues in their attach functions, set the bit there and not in the virtio transport attach function. Only vioscsi and viogpu really need this, but let's only have one standard way to do this.
Noticed because of hangs with vioscsi on qemu/windows and in the Oracle cloud. With much debugging help by Aaron Mason.
Also revert vioscsi.c 1.31 "Temporarily workaround double calls into vioscsi_req_done()"
ok krw@
|
#
1.2 |
|
23-Apr-2023 |
patrick |
Stop setting ri->ri_bs to prevent a panic caused by rasops accessing its uninitialized content. When we rasops_init() with RI_VCONS, a new screen is allocated. If ri->ri_bs is set, this will be copied. Otherwise a new one will be allocated and filled with ASCII spaces. Copying the ri->ri_bs is useful in case we have an early console which contents we want to keep. As we do not have an early console here, there's no point in setting it at the moment.
With this my Hetzner arm64 VM doesn't panic anymore.
ok jcs@ kettenis@
|
#
1.1 |
|
20-Apr-2023 |
jcs |
add viogpu, a VirtIO GPU driver
works enough to get a console on qemu with more work to come from others
feedback from miod ok patrick
|
#
1.5 |
|
14-May-2024 |
jsg |
remove prototypes with no matching function
|
#
1.4 |
|
13-May-2024 |
jsg |
remove prototypes with no matching function ok mpi@
|
Revision tags: OPENBSD_7_4_BASE OPENBSD_7_5_BASE
|
#
1.3 |
|
29-May-2023 |
sf |
virtio: Set DRIVER_OK earlier
The DRIVER_OK bit must be set before using any virt-queues. To allow virtio device drivers to use the virt-queues in their attach functions, set the bit there and not in the virtio transport attach function. Only vioscsi and viogpu really need this, but let's only have one standard way to do this.
Noticed because of hangs with vioscsi on qemu/windows and in the Oracle cloud. With much debugging help by Aaron Mason.
Also revert vioscsi.c 1.31 "Temporarily workaround double calls into vioscsi_req_done()"
ok krw@
|
#
1.2 |
|
23-Apr-2023 |
patrick |
Stop setting ri->ri_bs to prevent a panic caused by rasops accessing its uninitialized content. When we rasops_init() with RI_VCONS, a new screen is allocated. If ri->ri_bs is set, this will be copied. Otherwise a new one will be allocated and filled with ASCII spaces. Copying the ri->ri_bs is useful in case we have an early console which contents we want to keep. As we do not have an early console here, there's no point in setting it at the moment.
With this my Hetzner arm64 VM doesn't panic anymore.
ok jcs@ kettenis@
|
#
1.1 |
|
20-Apr-2023 |
jcs |
add viogpu, a VirtIO GPU driver
works enough to get a console on qemu with more work to come from others
feedback from miod ok patrick
|
#
1.4 |
|
13-May-2024 |
jsg |
remove prototypes with no matching function ok mpi@
|
Revision tags: OPENBSD_7_4_BASE OPENBSD_7_5_BASE
|
#
1.3 |
|
29-May-2023 |
sf |
virtio: Set DRIVER_OK earlier
The DRIVER_OK bit must be set before using any virt-queues. To allow virtio device drivers to use the virt-queues in their attach functions, set the bit there and not in the virtio transport attach function. Only vioscsi and viogpu really need this, but let's only have one standard way to do this.
Noticed because of hangs with vioscsi on qemu/windows and in the Oracle cloud. With much debugging help by Aaron Mason.
Also revert vioscsi.c 1.31 "Temporarily workaround double calls into vioscsi_req_done()"
ok krw@
|
#
1.2 |
|
23-Apr-2023 |
patrick |
Stop setting ri->ri_bs to prevent a panic caused by rasops accessing its uninitialized content. When we rasops_init() with RI_VCONS, a new screen is allocated. If ri->ri_bs is set, this will be copied. Otherwise a new one will be allocated and filled with ASCII spaces. Copying the ri->ri_bs is useful in case we have an early console which contents we want to keep. As we do not have an early console here, there's no point in setting it at the moment.
With this my Hetzner arm64 VM doesn't panic anymore.
ok jcs@ kettenis@
|
#
1.1 |
|
20-Apr-2023 |
jcs |
add viogpu, a VirtIO GPU driver
works enough to get a console on qemu with more work to come from others
feedback from miod ok patrick
|
#
1.3 |
|
29-May-2023 |
sf |
virtio: Set DRIVER_OK earlier
The DRIVER_OK bit must be set before using any virt-queues. To allow virtio device drivers to use the virt-queues in their attach functions, set the bit there and not in the virtio transport attach function. Only vioscsi and viogpu really need this, but let's only have one standard way to do this.
Noticed because of hangs with vioscsi on qemu/windows and in the Oracle cloud. With much debugging help by Aaron Mason.
Also revert vioscsi.c 1.31 "Temporarily workaround double calls into vioscsi_req_done()"
ok krw@
|
#
1.2 |
|
23-Apr-2023 |
patrick |
Stop setting ri->ri_bs to prevent a panic caused by rasops accessing its uninitialized content. When we rasops_init() with RI_VCONS, a new screen is allocated. If ri->ri_bs is set, this will be copied. Otherwise a new one will be allocated and filled with ASCII spaces. Copying the ri->ri_bs is useful in case we have an early console which contents we want to keep. As we do not have an early console here, there's no point in setting it at the moment.
With this my Hetzner arm64 VM doesn't panic anymore.
ok jcs@ kettenis@
|
#
1.1 |
|
20-Apr-2023 |
jcs |
add viogpu, a VirtIO GPU driver
works enough to get a console on qemu with more work to come from others
feedback from miod ok patrick
|