Up to [cvs.NetBSD.org] / src / sys / arch / xen / xen
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.62 / (download) - annotate - [select for diffs], Fri Apr 6 03:20:43 2012 UTC (13 months, 1 week ago) by riz
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.61: +7 -4
lines
Diff to previous 1.61 (colored)
Retrive and print the hypervisor "extra" (teeny) version. From Manuel Bouyer.
Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 17 18:42:19 2012 UTC (14 months, 4 weeks ago) by bouyer
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Changes since 1.60: +6 -5
lines
Diff to previous 1.60 (colored)
- make xen_version globally available, with macros to access major and minor xen version. - In xen_initclocks(), do a VCPUOP_stop_periodic_timer only for Xen 3.1 and later Should fix PR port-xen/45961
Revision 1.60 / (download) - annotate - [select for diffs], Fri Dec 9 11:47:49 2011 UTC (17 months, 1 week ago) by cherry
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
Move events/interrupt subsystem initialisation to before when ipis are used
Revision 1.59 / (download) - annotate - [select for diffs], Wed Dec 7 15:47:43 2011 UTC (17 months, 1 week ago) by cegger
Branch: MAIN
Changes since 1.58: +3 -3
lines
Diff to previous 1.58 (colored)
switch from xen3-public to xen-public.
Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 22 23:02:35 2011 UTC (19 months, 3 weeks ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.57: +4 -10
lines
Diff to previous 1.57 (colored)
Expose Xen kernfs entries inside a domU. Patch originally from sborrill@, slightly modified by me to profit from runtime checks for dom0 privileges instead of using compile time macros (DOM0OPS). It should now be possible to use pkgsrc's sysutils/xentools inside a domU to query XenStore entries (or even modify part of it if the domain has enough rights).
Revision 1.57 / (download) - annotate - [select for diffs], Tue Sep 20 00:12:24 2011 UTC (19 months, 4 weeks ago) by jym
Branch: MAIN
Changes since 1.56: +30 -2
lines
Diff to previous 1.56 (colored)
Merge jym-xensuspend branch in -current. ok bouyer@. Goal: save/restore support in NetBSD domUs, for i386, i386 PAE and amd64. Executive summary: - split all Xen drivers (xenbus(4), grant tables, xbd(4), xennet(4)) in two parts: suspend and resume, and hook them to pmf(9). - modify pmap so that Xen hypervisor does not cry out loud in case it finds "unexpected" recursive memory mappings - provide a sysctl(7), machdep.xen.suspend, to command suspend from userland via powerd(8). Note: a suspend can only be handled correctly when dom0 requested it, so provide a mechanism that will prevent kernel to blindly validate user's commands The code is still in experimental state, use at your own risk: restore can corrupt backend communications rings; this can completely thrash dom0 as it will loop at a high interrupt level trying to honor all domU requests. XXX PAE suspend does not work in amd64 currently, due to (yet again!) page validation issues with hypervisor. Will fix. XXX secondary CPUs are not suspended, I will write the handlers in sync with cherry's Xen MP work. Tested under i386 and amd64, bear in mind ring corruption though. No build break expected, GENERICs and XEN* kernels should be fine. ./build.sh distribution still running. In any case: sorry if it does break for you, contact me directly for reports.
Revision 1.56 / (download) - annotate - [select for diffs], Sat Aug 13 12:37:30 2011 UTC (21 months ago) by cherry
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.55: +39 -5
lines
Diff to previous 1.55 (colored)
MP probing and startup code
Revision 1.55 / (download) - annotate - [select for diffs], Tue May 17 17:34:53 2011 UTC (2 years ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.54: +4 -4
lines
Diff to previous 1.54 (colored)
PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that. Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way. This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes: algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
Revision 1.54 / (download) - annotate - [select for diffs], Sun Apr 17 23:54:05 2011 UTC (2 years, 1 month ago) by jym
Branch: MAIN
Changes since 1.53: +2 -12
lines
Diff to previous 1.53 (colored)
Remove remnants from the past when Xen 2 was still alive.
Revision 1.53 / (download) - annotate - [select for diffs], Sat Aug 7 21:58:34 2010 UTC (2 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.52: +2 -3
lines
Diff to previous 1.52 (colored)
acpi_madt.h is gone
Revision 1.52 / (download) - annotate - [select for diffs], Wed Apr 28 19:17:04 2010 UTC (3 years ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.51: +8 -8
lines
Diff to previous 1.51 (colored)
On x86, change the bus_space_tag_t to a pointer to a struct bus_space_tag. For now, bus_space_tag's only member is bst_type, the type of space, which is either X86_BUS_SPACE_IO or X86_BUS_SPACE_MEM. In the future, new bus_space_tag members will refer to override-functions installed by a new function, bus_space_tag_create(9). Add pointers to constant struct bus_space_tag, x86_bus_space_io and x86_bus_space_mem. Use them to replace most uses of X86_BUS_SPACE_IO and X86_BUS_SPACE_MEM. Add an x86-specific bus_space_is_equal(9) implementation that compares the two tags' bst_type.
Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 2 16:44:08 2010 UTC (3 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.50: +11 -3
lines
Diff to previous 1.50 (colored)
Re-zero the attach args before setting them up for a new call to config_found_ia(). In this way we avoid passing an uninitialized pcibus_attach_args.pba_pc that will cause problems, later.
Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 23 02:32:34 2009 UTC (3 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.49: +2 -7
lines
Diff to previous 1.49 (colored)
Remove 3rd and 4th clauses. OK cl@ (copyright holder).
Revision 1.49 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:11 2009 UTC (3 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.48: +2 -7
lines
Diff to previous 1.48 (colored)
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 18 16:41:03 2009 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7
Changes since 1.47: +9 -9
lines
Diff to previous 1.47 (colored)
Switch to ACPICA 20090730, and update for API changes.
Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 29 12:02:09 2009 UTC (3 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.46: +8 -117
lines
Diff to previous 1.46 (colored)
remove Xen2 support. ok bouyer@
Revision 1.46 / (download) - annotate - [select for diffs], Sat Apr 18 09:51:21 2009 UTC (4 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base
Changes since 1.45: +4 -4
lines
Diff to previous 1.45 (colored)
mpacpi_scan_pci and mpbios_scan_pci were unified into mp_pci_scan. See sys/arch/x86/x86/mp.c:1.9.
Revision 1.45 / (download) - annotate - [select for diffs], Tue Mar 10 17:17:30 2009 UTC (4 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.44: +7 -7
lines
Diff to previous 1.44 (colored)
Make sure xenkernfs_init() is called for XEN2 too.
Revision 1.44 / (download) - annotate - [select for diffs], Fri Feb 13 21:03:59 2009 UTC (4 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.43: +9 -3
lines
Diff to previous 1.43 (colored)
Work in progress on PCI front-end/back-end support front-end: - add a xpci* at xenbus? which provides pci busses from the dom0 xpci provides support routines for PCI config space operations and enumeration in xpci_xenbus.c - hypervisor.c: do dom0-style PCI attach only ifdef DOM0OPS - pci_intr_machdep.c: check line value only if DOM0OPS back-end: - add a pciback* at pci? device which takes precedences over all other PCI devices (match return 500) and matches all devices passed to pciback.hide option on boot command line. It exports the PCI device informations to files in /kern/xen/pci/ - hypervisor.c: create /kern/xen earlier so pciback can create its entries while PCI devices are probed - xen_machdep.c: add handling for pciback.hide= frontend is know working on Xen 3.1.x dom0 with ahc(4) and pciide(4) devices. uhci(4) fail when trying to allocate a large contigous DMA buffer. backend is work in progress; support in xentools is not there yet.
Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 18 20:50:43 2009 UTC (4 years, 3 months ago) by bouyer
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.42: +2 -11
lines
Diff to previous 1.42 (colored)
The Xen PCI_BUS_FIXUP/PCI_ADDR_FIXUP has rotted, catch up with x86 changes in this area. Patch provided by FUKAUMI Naoki in PR#40356.
Revision 1.42 / (download) - annotate - [select for diffs], Fri Oct 24 21:09:24 2008 UTC (4 years, 6 months ago) by jym
Branch: MAIN
CVS Tags: netbsd-5-base,
mjf-devfs2-base,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.41: +3 -3
lines
Diff to previous 1.41 (colored)
- rename init_events() to events_init(), to better reflect netbsd semantics - change unbind_[pv]irq_from_evtch() so that they now return the event channel the [PV]IRQ was bound to. It reflects the opposite behaviour of the bind_[pv]irq_to_evtch() functions. - remove xenbus_suspend() and xenbus_resume() prototypes, as they are not used anywhere else, and will conflict with the xenbus pmf(9) handlers. - make start_info aligned on a page boundary, as Xen expects it to be so. - mask event channel during xbd detach before removing its handler (can avoid spurious events). - add the "protocol" entry in xenstore during xbd initialization. Normally created during domU's boot by xentools, it is under domU's responsibility in all other cases (save/restore, hot plugging, etc.). - modifications to xs_init(), so that it can properly return an error. Reviewed by Christoph (cegger@).
Revision 1.41 / (download) - annotate - [select for diffs], Fri Oct 24 18:02:58 2008 UTC (4 years, 6 months ago) by jym
Branch: MAIN
Changes since 1.40: +4 -4
lines
Diff to previous 1.40 (colored)
- printf -> aprint_* - fix and add comments - make some panic/error messages more relevant - remove last '\n' in DPRINTK() macros, not required as it is already part of format string. No functional changes.
Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 21 15:46:32 2008 UTC (4 years, 6 months ago) by cegger
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
introduce two macros: xendomain_is_dom0() and xendomain_is_privileged(). Use them.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Oct 11 21:11:11 2008 UTC (4 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.38: +7 -3
lines
Diff to previous 1.38 (colored)
Support 64bit DMA on PCI busses.
Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 16 19:55:32 2008 UTC (4 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3
Changes since 1.37: +4 -2
lines
Diff to previous 1.37 (colored)
Implement the arch-dependent p2m frame lists list. This adds support for 'xm dump-core' for NetBSD domUs. From Jean-Yves Migeon (jean-yves dot migeon at espci dot fr)
Revision 1.37 / (download) - annotate - [select for diffs], Tue May 27 17:01:07 2008 UTC (4 years, 11 months ago) by explorer
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl
Branch point for: haad-dm
Changes since 1.36: +15 -4
lines
Diff to previous 1.36 (colored)
print out the xen hypervisor's version number when attaching
Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 16 18:41:48 2008 UTC (5 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
hpcarm-cleanup-nbase
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Changes since 1.35: +9 -16
lines
Diff to previous 1.35 (colored)
device_t / softc split reviewed, tested and approved by bouyer
Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 14 13:38:03 2008 UTC (5 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.34: +4 -4
lines
Diff to previous 1.34 (colored)
- use POSIX integer types - ansify functions
Revision 1.34 / (download) - annotate - [select for diffs], Sun Apr 6 07:24:20 2008 UTC (5 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.33: +3 -4
lines
Diff to previous 1.33 (colored)
use aprint_*_dev and device_xname
Revision 1.33 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:54 2008 UTC (5 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.32: +1 -1
lines
Diff to previous 1.32 (colored)
Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the branch is still active and will see i386PAE support developement). Sumary of changes: - switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c pmap bootstrap. - merge back most of xen/i386/ to i386/i386 - change the build to reduce diffs between i386 and amd64 in file locations - remove include files that were identical to the i386/amd64 counterparts, the build will find them via the xen-ma/machine link.
Revision 1.32 / (download) - annotate - [select for diffs], Thu Nov 22 16:17:07 2007 UTC (5 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.31: +16 -12
lines
Diff to previous 1.31 (colored)
Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support to NetBSD/Xen, both Dom0 and DomU.
Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 6 12:35:39 2007 UTC (6 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
ppcoea-renovation-base,
ppcoea-renovation,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: vmlocking,
mjf-devfs,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Changes since 1.30: +10 -9
lines
Diff to previous 1.30 (colored)
fix vcpu after recent cpubus changes.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Mar 5 23:26:40 2007 UTC (6 years, 2 months ago) by dogcow
Branch: MAIN
Changes since 1.29: +2 -3
lines
Diff to previous 1.29 (colored)
The recent cpu_attach changes broke the xen build; while this compiles, I'm far from positive it's the correct fix.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 29 01:52:46 2007 UTC (6 years, 3 months ago) by hubertf
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.28: +2 -8
lines
Diff to previous 1.28 (colored)
Remove more duplicate headers. Patch by Slava Semushin <slava.semushin@gmail.com> Again, this was tested by comparing obj files from a pristine and a patched source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs, src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers were detected in 'objdump -d' output.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 15 13:31:18 2006 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.27: +3 -2
lines
Diff to previous 1.27 (colored)
include machine/mpconfig.h so that these files can be compiled with ACPI but without MPBIOS.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Sep 28 18:53:16 2006 UTC (6 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +36 -20
lines
Diff to previous 1.26 (colored)
Add Xen3 support for ACPI and/or MPBIOS + IOAPIC. To help with this, physical CPUs are now configured on mainbus only in dom0, and only to know about their APIC id. virtual CPUs are attached to hypervisor as: vcpu* at hypervisor? and this is what's used as curcpu(). The kernel config files needs to be updated for this, see XEN3_DOM0 or XEN3_DOMU for examples. XEN3_DOM0 now has acpi, MPBIOS and ioapic by default. Note that a Xen dom0 kernel doens't have access to the lapic.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 11 13:22:43 2006 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.25: +8 -5
lines
Diff to previous 1.25 (colored)
"xm shutdown" support for xen3. ok'ed by Manuel Bouyer.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 7 18:15:53 2006 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored)
make this compilable without kernfs in the case of !DOM0OPS && XEN3.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 9 22:14:13 2006 UTC (7 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
simonb-timecounters-base,
gdamore-uart-base,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Changes since 1.23: +3 -7
lines
Diff to previous 1.23 (colored)
Move xenkernfs_init() back in hypervisor.c so that /kern/xen/privcmd can also register properly.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 9 19:28:01 2006 UTC (7 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.22: +91 -34
lines
Diff to previous 1.22 (colored)
Add support for ACPI in xen-3 dom0 support. We can now boot a xen-3 dom0 kernel with a default xen comamnd line.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 19 15:11:50 2006 UTC (7 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.21: +6 -6
lines
Diff to previous 1.21 (colored)
More xbd->xbd_hypervisor changes; non-Xen3 kernels build again.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 6 22:04:18 2006 UTC (7 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq,
elad-kernelauth
Changes since 1.20: +9 -7
lines
Diff to previous 1.20 (colored)
Fix build issues that didn't show up in my private tree.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Mar 6 20:34:09 2006 UTC (7 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.19: +18 -2
lines
Diff to previous 1.19 (colored)
pull in the grant table and Xenbus interfaces, and attach xenbus at hypervisor.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 15 22:09:52 2006 UTC (7 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.18: +26 -4
lines
Diff to previous 1.18 (colored)
Snapshot of work in progress on NetBSD port to Xen3: - kernel (both dom0 and domU) boot, console is functionnal and it can starts software from a ramdisk - there is no driver front-end expect console for domU yet. - dom0 can probe devices and ex(4) work when Xen3 is booted without acpi and apic support. But the on-board IDE doens't get interrupts. The PCI code still needs work (it's hardcoded to mode 1). Some of this code should be shared with ../x86 The physical insterrupt code needs to get MPBIOS and ACPI support, and do interrupt routing to properly interract with Xen. To enable Xen-3.0 support, add options XEN3 to your kernel config file (this will disable Xen2 support) Changes affecting Xen-2.0 support (no functionnal changes intended): - get more constants from genassym for assembly code - remove some unneeded registers move from start() - map the shared info page from start(), and remove the pte = 0xffffffff hack - vector.S: in hypervisor_callback() make sure %esi points to HYPERVISOR_shared_info before accessing the info page. Remplace some hand-written assembly with the equivalent macro defined in frameasm.h - more debug code, dissabled by default. while here added my copyright on some files I worked on in 2005.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:50 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored)
merge ktrace-lwp.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 20 20:33:53 2005 UTC (7 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Changes since 1.16: +2 -12
lines
Diff to previous 1.16 (colored)
inline 2 trivial functions that are called often (according to profiling data).
Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 21 22:20:28 2005 UTC (7 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.15: +4 -4
lines
Diff to previous 1.15 (colored)
Define a xendevbus atttibute and add it to hypervisor. Use it for xen devices which attach to hypervisor. This allows to use config_found_ia() instead of config_found(), instead of relying on the order of which device are written in ioconf.c. From Quentin Garnier.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 19 16:06:12 2005 UTC (7 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.14: +30 -21
lines
Diff to previous 1.14 (colored)
Make PCI devices usable for non-domain0 kernels. Based on patches sent by Ceri Storey to port-xen, with some additionnal changes by me: - include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined instead of dom0ops - Make various initialisations, and probe/attach pci busses based on NPCI instead of DOM0OPS - in conf/files.xen, move xen-specific devices before non-xen specific devices so that the xen-specific match function is called first, to avoid false attachement from too liberal match function in non-xen code.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 18 21:33:21 2005 UTC (8 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.13: +39 -2
lines
Diff to previous 1.13 (colored)
Add sysmon_power attribute to hypervisor, and an handler for CMSG_SHUTDOWN messages. Now a NetBSD guest will reboot or shutdown on 'xm shutdown' commands in domain0.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 17 21:11:30 2005 UTC (8 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.12: +2 -14
lines
Diff to previous 1.12 (colored)
Add a kernel thread to the control interface, to handle deferred callacks (which may sleep). Fix port-xen/29851 by YAMAMOTO Takashi. Use config_pending_incr()/config_pending_decr() in if_xennet instead of busy-looping (which doesn't work any more). Remove the kernel thread from xbd, which isn't needed any more.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 11 20:39:39 2005 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Changes since 1.11: +6 -6
lines
Diff to previous 1.11 (colored)
Properly define NISA and NPCI; cleanup use of NISA and NPCI.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 11 15:50:25 2005 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.10: +4 -2
lines
Diff to previous 1.10 (colored)
Wrap some ISA stuff in DOM0OPS, so that DOMU kernels build again.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 10 22:10:11 2005 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.9: +21 -8
lines
Diff to previous 1.9 (colored)
Clean up ISA attachement, and do not try to attach it at hypervisor if it has already been attached at pcib.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 9 22:39:21 2005 UTC (8 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +111 -38
lines
Diff to previous 1.8 (colored)
Merge the bouyer-xen2 branch. This add supports for the Xen 2.0 virtual machine kernel (both privileged and non-privileged domains), and remove support for the old xen 1.2.
Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 10 18:54:08 2004 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge,
bouyer-xen2-base
Branch point for: yamt-km,
kent-audio2,
bouyer-xen2
Changes since 1.7: +3 -2
lines
Diff to previous 1.7 (colored)
dkvar.h now needs bufq.h, and now xen compiles again.
Revision 1.7 / (download) - annotate - [select for diffs], Fri May 7 23:05:30 2004 UTC (9 years ago) by cl
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Branch point for: netbsd-2-0,
ktrace-lwp
Changes since 1.6: +5 -2
lines
Diff to previous 1.6 (colored)
Reboot machine when hypervisor signals "die" event.
Revision 1.6 / (download) - annotate - [select for diffs], Fri May 7 15:51:04 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.5: +38 -2
lines
Diff to previous 1.5 (colored)
Add support for domain0 operations: - access to all physical memory - access to hypervisor traps from userland - setup/config Xen's network routing/firewall rules
Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 25 00:24:08 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.4: +6 -6
lines
Diff to previous 1.4 (colored)
Don't attach vga and keyboard if the domain is not privileged. Also cleanup print command if attachment fails.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 24 21:33:32 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.3: +16 -2
lines
Diff to previous 1.3 (colored)
Add keyboard support and wscons config options.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 24 20:58:59 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.2: +18 -2
lines
Diff to previous 1.2 (colored)
Add vga display support.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 24 18:24:14 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.1: +8 -8
lines
Diff to previous 1.1 (colored)
Consistently use xencons for eveything reffering to Xen's virtual console. rename arch/xen/xen/console.c -> arch/xen/xen/xencons.c
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 24 17:45:38 2004 UTC (9 years ago) by cl
Branch: MAIN
Add ``hypervisor at mainbus'' and attach all devices provided by the hypervisor to it instead of mainbus.