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

Re: [Xen-devel] [PATCH 22/22] vixen: dom0 builder support



On Sun, Jan 07, 2018 at 07:52:26AM -0800, Anthony Liguori wrote:
> On Sun, Jan 7, 2018 at 1:02 AM, Roger Pau Monné <roger.pau@xxxxxxxxxx> wrote:
> > On Sat, Jan 06, 2018 at 02:54:37PM -0800, Anthony Liguori wrote:
> >> diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
> >> index 1b89844..c49eeea 100644
> >> --- a/xen/arch/x86/setup.c
> >> +++ b/xen/arch/x86/setup.c
> >> @@ -663,6 +663,8 @@ void __init noreturn __start_xen(unsigned long mbi_p)
> >>          .stop_bits = 1
> >>      };
> >>      struct xen_arch_domainconfig config = { .emulation_flags = 0 };
> >> +    xen_pfn_t store_mfn = 0, console_mfn = 0;
> >> +    uint32_t store_evtchn = 0, console_evtchn = 0;
> >>
> >>      /* Critical region without IDT or TSS.  Any fault is deadly! */
> >>
> >> @@ -1595,6 +1597,9 @@ void __init noreturn __start_xen(unsigned long mbi_p)
> >>          config.emulation_flags = XEN_X86_EMU_LAPIC|XEN_X86_EMU_IOAPIC;
> >>      }
> >>
> >> +    if ( is_vixen() )
> >> +        config.emulation_flags = XEN_X86_EMU_PIT;
> >
> > DomUs should not have an emulated PIT, that's only for Dom0 PV.
> 
> Unfortunately, they do need an emulated PIT.  Until PVH got merged, an
> emulated PIT
> was always present for DomUs and 2.6.21 era kernels use the PIT for
> TSC calibration.
> If a PIT isn't present, then they hang during early boot.

Is this something that only affects 2.6.21? I've certainly tested
different old distros that use 2.6.18 and they all work just fine
without a PIT.

Do you know where can I find one of those kernels?

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.