Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/arch/xen/xenbus



Module Name:    src
Committed By:   martin
Date:           Thu Feb 20 19:32:55 UTC 2025

Modified Files:
        src/sys/arch/xen/xenbus [netbsd-10]: xenbus_probe.c

Log Message:
Pull up following revision(s) (requested by sborrill in ticket #1050):

        sys/arch/xen/xenbus/xenbus_probe.c: revision 1.61
        sys/arch/xen/xenbus/xenbus_probe.c: revision 1.62

cdroms as xbd devices are skipped in PVHVM mode to avoid hangs if they
are not ready, i.e. do not contain an ISO image (that they hang is a bug
that should be fixed in itself). They are instead detected as an emulated
cdX which does deal with not being ready.

This leads to a regression in pure PV mode where xbd devices are hot-plugged
when an ISO is mounted and there are no emulated block devices such as cdX.

The xbd devices never appear and thus ISO images are not accessible.

Revert to pre-10 behaviour on pure PV kernels.

Ignore cdroms only for VM_GUEST_XENPVHVM guests, not for all !XENPV kernels
(we can also have PVH guests with !XENPV kernels)


To generate a diff of this commit:
cvs rdiff -u -r1.58.6.1 -r1.58.6.2 src/sys/arch/xen/xenbus/xenbus_probe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index