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. test/
  2. aer-inject.c
  3. aer.h
  4. aer.lex
  5. aer.y
  6. Makefile
  8. SPEC
  9. util.c
  10. util.h