[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-9.0 v2 01/19] tests/avocado: Add 'guest:xen' tag to tests
From: |
David Woodhouse |
Subject: |
Re: [PATCH-for-9.0 v2 01/19] tests/avocado: Add 'guest:xen' tag to tests running Xen guest |
Date: |
Tue, 14 Nov 2023 10:08:09 -0500 |
User-agent: |
K-9 Mail for Android |
On 14 November 2023 10:00:09 GMT-05:00, "Philippe Mathieu-Daudé"
<philmd@linaro.org> wrote:
>On 14/11/23 15:50, David Woodhouse wrote:
>> On 14 November 2023 09:37:57 GMT-05:00, "Philippe Mathieu-Daudé"
>> <philmd@linaro.org> wrote:
>>> Add a tag to run all Xen-specific tests using:
>>>
>>> $ make check-avocado AVOCADO_TAGS='guest:xen'
>>>
>>> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>>> ---
>>> tests/avocado/boot_xen.py | 3 +++
>>> tests/avocado/kvm_xen_guest.py | 1 +
>>> 2 files changed, 4 insertions(+)
>>
>> Those two are very different. One runs on Xen, the other on KVM. Do we want
>> to use the same tag for both?
>
>My understanding is,
>- boot_xen.py runs Xen on TCG
>- kvm_xen_guest.py runs Xen on KVM
>so both runs Xen guests.
Does boot_xen.py actually boot *Xen*? And presumably at least one Xen guest
*within* Xen?
kvm_xen_guest.py boots a "Xen guest" under KVM directly without any real Xen
being present. It's *emulating* Xen.
They do both run Xen guests (or at least guests which use Xen hypercalls and
*think* they're running under Xen). But is that the important classification
for lumping them together?
[PATCH-for-9.0 v2 02/19] sysemu/xen: Forbid using Xen headers in user emulation, Philippe Mathieu-Daudé, 2023/11/14
[PATCH-for-9.0 v2 03/19] sysemu/xen-mapcache: Check Xen availability with CONFIG_XEN_IS_POSSIBLE, Philippe Mathieu-Daudé, 2023/11/14
[PATCH-for-9.0 v2 04/19] system/physmem: Do not include 'hw/xen/xen.h' but 'sysemu/xen.h', Philippe Mathieu-Daudé, 2023/11/14
[PATCH-for-9.0 v2 05/19] hw/display: Restrict xen_register_framebuffer() call to Xen, Philippe Mathieu-Daudé, 2023/11/14
[PATCH-for-9.0 v2 06/19] hw/pci/msi: Restrict xen_is_pirq_msi() call to Xen, Philippe Mathieu-Daudé, 2023/11/14