aer-inject: use lspci-style PCI ID

Use the lspci -s style of specificying a PCI device
[<domain>]:]<bus>:<slot>.<func> instead of
DOMAIN <domain> BUS <bus> DEV <dev> FN <func>.

Huang Ying: check the syntax and extract the string of PCI_ID in lex,
then parse the string later in yacc.

Signed-off-by: Andrew Patterson <>
Signed-off-by: Huang Ying <>
4 files changed
tree: 3bb1e8461b1f345c410882e85b6e40b0115c6fec
  1. Makefile
  3. SPEC
  4. aer-inject.c
  5. aer.h
  6. aer.lex
  7. aer.y
  8. test/
  9. util.c
  10. util.h