Patch for MS Hyper V (virtualization)

John Baldwin jhb at freebsd.org
Wed Apr 15 05:38:51 PDT 2009


On Tuesday 14 April 2009 8:46:51 pm Sergey Babkin wrote:
> John Baldwin wrote:
> > Your printf() probably isn't in the right place.  pci_add_map() uses
> > PCIB_READ_CONFIG() directly and doesn't use pci_read_config(), so if your
> > printf is in pci_read_config_method() in pci.c it won't see them.  Try
> > hooking the cfg operations in sys/amd64/pci/pci_cfgreg.c instead.
> 
> The printf was in pci_write_config().

Yes, that won't catch the PCIB_WRITE_CONFIG()'s in pci_add_map().

-- 
John Baldwin


More information about the freebsd-hackers mailing list