Skip to content

Commit

Permalink
svirt_dac: Update serial_attrs to enable test for aarch64
Browse files Browse the repository at this point in the history
The serial->target->type for character device on aarch64 is system-serial,
and the usable model for system-serial is pl011.

Signed-off-by: Hu Shuai <[email protected]>
  • Loading branch information
hs0210 committed May 29, 2023
1 parent 3381ee8 commit b533c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libvirt/tests/cfg/svirt/dac/dac_seclabel_per_device.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
serial_path = "/tmp/test1.sock"
serial_attrs_sources_attrs = {"mode": "bind", "path": "${serial_path}"}
serial_attrs = {'type_name': 'unix', 'target_type': 'pci-serial', 'target_model': 'pci-serial'}
aarch64:
serial_attrs = {'type_name': 'unix', 'target_type': 'system-serial', 'target_model': 'pl011'}
variants:
- relabel_no:
seclabel_attr_relabel = "no"
Expand Down

0 comments on commit b533c73

Please sign in to comment.