Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD 6 - Xen 4.2.3 pciback support?
I do see one patch related to libxl pciback:
yoda# cat /usr/pkgsrc/sysutils/xentools42/patches/patch-libxl_libxl__internal.h
$NetBSD: patch-libxl_libxl__internal.h,v 1.1 2013/05/15 06:58:50 jnemeth Exp $
--- libxl/libxl_internal.h.orig 2012-12-17 15:01:09.000000000 +0000
+++ libxl/libxl_internal.h
@@ -374,7 +374,11 @@ typedef struct {
#define PCI_FUNC(devfn) ((devfn) & 0x07)
#define AUTO_PHP_SLOT 0x100
#define SYSFS_PCI_DEV "/sys/bus/pci/devices"
+#ifdef __NetBSD__
+#define SYSFS_PCIBACK_DRIVER "/kern/xen/pci"
+#else
#define SYSFS_PCIBACK_DRIVER "/sys/bus/pci/drivers/pciback"
+#endif
#define XENSTORE_PID_FILE "/var/run/xenstored.pid"
#define PROC_PCI_NUM_RESOURCES 7
Interesting part: +#ifdef __NetBSD__
+#define SYSFS_PCIBACK_DRIVER "/kern/xen/pci"
But from the output I posted before it seems its not "going" to
/kern/xen/pci, Or maybe its hardcoded somewhere else!
On Sat, Jan 11, 2014 at 6:22 PM, Manuel Bouyer
<bouyer%antioche.eu.org@localhost> wrote:
> On Sat, Jan 11, 2014 at 05:57:45PM +0000, Miguel Clara wrote:
>> I see, so I'm guessing the problem is libxl_pci? probably need some
>> patching to NetBSD ?
>
> there are patches in pkgsrc, but maybe something is missing.
>
> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> NetBSD: 26 ans d'experience feront toujours la difference
> --
Home |
Main Index |
Thread Index |
Old Index