diff --git a/tests/tox-bootstrapd.dhall b/tests/tox-bootstrapd.dhall index b27eee6..6afdb77 100644 --- a/tests/tox-bootstrapd.dhall +++ b/tests/tox-bootstrapd.dhall @@ -26,7 +26,6 @@ let toArgsXML = let tox-bootstrap = Init::{ - , verbose = True , routes = [ ServiceRoute.parent "Timer" , ServiceRoute.child "Platform" "platform_drv" @@ -72,7 +71,7 @@ let tox-bootstrap = , nic_drv = Child.flat Child.Attributes::{ - , binary = "ipxe_nic_drv" + , binary = "virtio_pci_nic" , provides = [ "Nic" ] , resources = Init.Resources::{ , caps = 128 @@ -124,9 +123,26 @@ let tox-bootstrap = } ] } + , Init.Config.Policy::{ + , label = Init.LabelSelector.prefix "test-pci" + , content = + [ XML.leaf + { name = "pci" + , attributes = toMap { class = "ALL" } + } + ] + } ] } } + , test-pci = + Child.flat + Child.Attributes::{ + , binary = "test-pci" + , reportRoms = [ label "acpi" ] + , config = Init.Config::{ attributes = toMap { rom = "acpi" } } + , routes = [ ServiceRoute.child "Platform" "platform_drv" ] + } } } diff --git a/tests/tox-bootstrapd.nix b/tests/tox-bootstrapd.nix index 10386f1..07daee8 100644 --- a/tests/tox-bootstrapd.nix +++ b/tests/tox-bootstrapd.nix @@ -12,8 +12,9 @@ platform_drv posix report_rom + rom_logger + (genodeSources.make "test/pci") vfs_lwip - virtdev_rom virtio_nic_drv ]) ++ (with legacyPackages; [ libtoxcore ]); };