Avi Kivity <avi@xxxxxxxxxx> wrote: > On 05/26/2010 03:27 AM, Juan Quintela wrote: >> Alex Williamson<alex.williamson@xxxxxxxxxx> wrote: >> >>> PCI_MSIX_TABSIZE is 0x07ff >>> >>> Reported-by: Juan Quintela<quintela@xxxxxxxxxx> >>> Signed-off-by: Alex Williamson<alex.williamson@xxxxxxxxxx> >>> >> Acked-by: Juan Quintela<quintela@xxxxxxxxxx> >> >> BTW, I also noticed the lack of pci_set_long() and friend functions, but >> arrived to the same conclusion that you: all the device assignment >> assumes that the world is x86_64 :) >> > > IIRC it used to work on ia64 as well. But ia64 is little endian :) static inline void pci_set_word(uint8_t *config, uint16_t val) { cpu_to_le16wu((uint16_t *)config, val); } on little endian, this is always an assignment :) Problem is if we have big endian somewhere in the middle. Later, Juan. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html