[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block
From: |
David Woodhouse |
Subject: |
Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices |
Date: |
Fri, 27 Oct 2023 11:25:08 +0100 |
User-agent: |
Evolution 3.44.4-0ubuntu2 |
On Fri, 2023-10-27 at 10:01 +0100, Durrant, Paul wrote:
>
> This code is allocating a name automatically so I think the onus is on
> it not create a needless clash which is likely to have unpredictable
> results depending on what the guest is. Just avoid any aliasing in the
> first place and things will be fine.
Yeah, fair enough. In which case I'll probably switch to using
xs_directory() and then processing those results to find a free slot,
instead of going out to XenStore for every existence check.
This isn't exactly fast path and I'm prepared to tolerate a little bit
of O(n²), but only within reason :)
smime.p7s
Description: S/MIME cryptographic signature
- [PATCH v3 17/28] hw/xen: add support for Xen primary console in emulated mode, (continued)
- [PATCH v3 17/28] hw/xen: add support for Xen primary console in emulated mode, David Woodhouse, 2023/10/25
- [PATCH v3 06/28] hw/xen: take iothread mutex in xen_evtchn_reset_op(), David Woodhouse, 2023/10/25
- [PATCH v3 08/28] i386/xen: Ignore VCPU_SSHOTTMR_future flag in set_singleshot_timer(), David Woodhouse, 2023/10/25
- [PATCH v3 13/28] hw/xen: automatically assign device index to block devices, David Woodhouse, 2023/10/25
- Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices, Durrant, Paul, 2023/10/27
- Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices, David Woodhouse, 2023/10/27
- Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices, Durrant, Paul, 2023/10/27
- Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices,
David Woodhouse <=
- Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices, Durrant, Paul, 2023/10/27
- Re: [PATCH v3 13/28] hw/xen: automatically assign device index to block devices, David Woodhouse, 2023/10/27
[PATCH v3 11/28] i386/xen: advertise XEN_HVM_CPUID_UPCALL_VECTOR in CPUID, David Woodhouse, 2023/10/25
[PATCH v3 05/28] hw/xen: fix XenStore watch delivery to guest, David Woodhouse, 2023/10/25
[PATCH v3 16/28] hw/xen: update Xen console to XenDevice model, David Woodhouse, 2023/10/25
[PATCH v3 03/28] hw/xen: select kernel mode for per-vCPU event channel upcall vector, David Woodhouse, 2023/10/25
[PATCH v3 24/28] net: add qemu_create_nic_bus_devices(), David Woodhouse, 2023/10/25
[PATCH v3 19/28] hw/xen: update Xen PV NIC to XenDevice model, David Woodhouse, 2023/10/25