Advertisement
xtree1

passthru_json

Mar 28th, 2021 (edited)
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Json:
  2. {
  3. "pci_devices": [
  4. {
  5. "path": "/devices/pci@0,0/pci8086,2f0a@3,2/display@0:ppt",
  6. "model": "passthru",
  7. "pci_slot": "0:8:0"
  8. }
  9. ]
  10. }
  11.  
  12. failure:
  13. vmadm validate update bhyve -f ubs_passthrough.json
  14. {
  15. "bad_values": [
  16. "pci_devices.0.path"
  17. ],
  18. "bad_properties": [
  19. "pci_devices.*.model"
  20. ],
  21. "missing_properties": []
  22. }
  23.  
  24. good json:
  25. {
  26. "pci_devices": [
  27. {
  28. "path": "/devices/pci@0,0/pci8086,2f0a@3,2/display@0",
  29. "pci_slot": "0:8:0"
  30. }
  31. ]
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement