dependabot-preview[bot]
7ce0db90f0
build(deps): bump regex-syntax from 0.6.11 to 0.6.12
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.6.11 to 0.6.12.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.11...regex-syntax-0.6.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 17:24:30 +00:00
Rob Bradford
ee83c2d44e
arch: x86_64: Generate basic ACPI tables
...
Generate very basic ACPI tables for HW reduced ACPI.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-03 19:18:49 +02:00
Rob Bradford
eea6f1dc9e
acpi_tables: Add initial ACPI tables support
...
Add a revision 2 RSDP table only supporting an XSDT along with support
for creating generic SDT based tables.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-03 19:18:49 +02:00
Samuel Ortiz
8718043dfc
cloud-hypervisor: Bump vmm-sys-util crate version
...
Bump from 829d605 to fd4dcd1.
PR #225 failed because we were still using the vmm-sys-util logging
macros and the crate's syslog module got removed.
This one relies on the previous commit switching to using the
log crate macros instead.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-09-02 15:07:42 +02:00
dependabot-preview[bot]
ce60ff16c4
build(deps): bump vmm-sys-util from a0b3893
to 829d605
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `a0b3893` to `829d605`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](a0b3893a40...829d605a07
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-30 11:35:54 +00:00
dependabot-preview[bot]
3dd329052c
build(deps): bump vmm-sys-util from 2177381
to a0b3893
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `2177381` to `a0b3893`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](2177381ed6...a0b3893a40
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 07:59:39 +00:00
dependabot-preview[bot]
18a8bb0072
build(deps): bump vmm-sys-util from 7222869
to 2177381
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `7222869` to `2177381`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](7222869ed3...2177381ed6
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 11:35:54 +00:00
dependabot-preview[bot]
151637b647
build(deps): bump cc from 1.0.40 to 1.0.41
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.40...1.0.41 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-28 01:13:15 +00:00
dependabot-preview[bot]
c316c161a6
build(deps): bump vm-memory from 1635f25
to 8669369
...
Bumps [vm-memory](https://github.com/rust-vmm/vm-memory ) from `1635f25` to `8669369`.
- [Release notes](https://github.com/rust-vmm/vm-memory/releases )
- [Commits](1635f25afc...8669369d17
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-27 12:48:10 +00:00
dependabot-preview[bot]
808fcaa43b
build(deps): bump lazy_static from 1.3.0 to 1.4.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 13:30:59 +00:00
dependabot-preview[bot]
bc87c9f19b
build(deps): bump kvm-ioctls from 37669f6
to 30adb02
...
Bumps [kvm-ioctls](https://github.com/rust-vmm/kvm-ioctls ) from `37669f6` to `30adb02`.
- [Release notes](https://github.com/rust-vmm/kvm-ioctls/releases )
- [Commits](37669f60a0...30adb02158
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 13:30:36 +00:00
dependabot-preview[bot]
66a7a94a12
build(deps): bump getrandom from 0.1.10 to 0.1.11
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.10...v0.1.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-25 18:03:45 +00:00
dependabot-preview[bot]
582fc7f989
build(deps): bump constant_time_eq from 0.1.3 to 0.1.4
...
Bumps [constant_time_eq](https://github.com/cesarb/constant_time_eq ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/cesarb/constant_time_eq/releases )
- [Commits](https://github.com/cesarb/constant_time_eq/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 08:33:30 +00:00
dependabot-preview[bot]
aface5bca2
build(deps): bump unicode-width from 0.1.5 to 0.1.6
...
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases )
- [Commits](https://github.com/unicode-rs/unicode-width/commits/0.1.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 07:40:27 +00:00
dependabot-preview[bot]
b528e99b18
build(deps): bump backtrace from 0.3.34 to 0.3.35
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.34 to 0.3.35.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.34...0.3.35 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 11:14:36 +00:00
dependabot-preview[bot]
e84179994e
build(deps): bump blake2b_simd from 0.5.6 to 0.5.7
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.6...0.5.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 10:55:39 +00:00
dependabot-preview[bot]
1d9ad9e7b0
build(deps): bump autocfg from 0.1.5 to 0.1.6
...
Bumps [autocfg](https://github.com/cuviper/autocfg ) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/cuviper/autocfg/releases )
- [Commits](https://github.com/cuviper/autocfg/compare/0.1.5...0.1.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 10:55:23 +00:00
dependabot-preview[bot]
55f01b2180
build(deps): bump remain from 0.1.3 to 0.1.4
...
Bumps [remain](https://github.com/dtolnay/remain ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/dtolnay/remain/releases )
- [Commits](https://github.com/dtolnay/remain/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 10:18:09 +00:00
dependabot-preview[bot]
49a129f3d3
build(deps): bump serde from 1.0.98 to 1.0.99
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.98...v1.0.99 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 10:17:57 +00:00
dependabot-preview[bot]
1c23a09cc6
build(deps): bump getrandom from 0.1.9 to 0.1.10
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.9...v0.1.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 10:17:45 +00:00
dependabot-preview[bot]
7245cf7c5e
build(deps): bump rust-argon2 from 0.5.0 to 0.5.1
...
Bumps [rust-argon2](https://github.com/sru-systems/rust-argon2 ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/sru-systems/rust-argon2/releases )
- [Changelog](https://github.com/sru-systems/rust-argon2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sru-systems/rust-argon2/compare/0.5.0...0.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 07:49:03 +00:00
dependabot-preview[bot]
7adb9d55ec
build(deps): bump libc from 0.2.61 to 0.2.62
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.61 to 0.2.62.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.61...0.2.62 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 07:22:34 +00:00
dependabot-preview[bot]
760791abbe
build(deps): bump openssl-sys from 0.9.48 to 0.9.49
...
Bumps [openssl-sys](https://github.com/sfackler/rust-openssl ) from 0.9.48 to 0.9.49.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.48...openssl-sys-v0.9.49 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 06:54:47 +00:00
dependabot-preview[bot]
7b718f3029
build(deps): bump vmm-sys-util from 5f8c251
to 7222869
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `5f8c251` to `7222869`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](5f8c251355...7222869ed3
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 06:54:23 +00:00
dependabot-preview[bot]
10abfd4448
build(deps): bump vmm-sys-util from 54e256b
to 5f8c251
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `54e256b` to `5f8c251`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](54e256b2cb...5f8c251355
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 09:34:46 +00:00
dependabot-preview[bot]
6678cbfb79
build(deps): bump getrandom from 0.1.8 to 0.1.9
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.8...v0.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 08:44:23 +00:00
Rob Bradford
513d2fdcf6
arch: x86_64: Update linux-loader crate
...
The linux-loader crate has been updated with a regnerated bootparams.rs
which has changed the API slightly. Update to the latest linux-loader
and adapt the code to reflect the changes:
* e820_map is renamed to e820_table (and all similar variables updated)
* e820entry is renamed to boot_e820_entry
* The E820 type constants are not no longer included
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-08-15 10:42:44 +02:00
dependabot-preview[bot]
0d53a5890d
build(deps): bump rustc-demangle from 0.1.15 to 0.1.16
...
Bumps [rustc-demangle](https://github.com/alexcrichton/rustc-demangle ) from 0.1.15 to 0.1.16.
- [Release notes](https://github.com/alexcrichton/rustc-demangle/releases )
- [Commits](https://github.com/alexcrichton/rustc-demangle/compare/0.1.15...0.1.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 08:12:28 +00:00
dependabot-preview[bot]
4b3fd906f7
build(deps): bump cc from 1.0.38 to 1.0.40
...
Bumps [cc](https://github.com/alexcrichton/cc-rs ) from 1.0.38 to 1.0.40.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases )
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.38...1.0.40 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 07:43:10 +00:00
dependabot-preview[bot]
bc5b72ff73
build(deps): bump libc from 0.2.60 to 0.2.61
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.60 to 0.2.61.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.60...0.2.61 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 07:21:11 +00:00
dependabot-preview[bot]
b608671031
build(deps): bump syn from 0.15.43 to 0.15.44
...
Bumps [syn](https://github.com/dtolnay/syn ) from 0.15.43 to 0.15.44.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/0.15.43...0.15.44 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 11:07:32 +00:00
dependabot-preview[bot]
97c964891c
build(deps): bump arc-swap from 0.4.1 to 0.4.2
...
Bumps [arc-swap](https://github.com/vorner/arc-swap ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/vorner/arc-swap/releases )
- [Changelog](https://github.com/vorner/arc-swap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/arc-swap/compare/v0.4.1...v0.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 11:07:05 +00:00
fazlamehrab
df5058ec0a
vm-virtio: Implement console size config feature
...
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.
During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.
Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-08-09 13:55:43 -07:00
dependabot-preview[bot]
4c9759e4fc
build(deps): bump syn from 0.15.42 to 0.15.43
...
Bumps [syn](https://github.com/dtolnay/syn ) from 0.15.42 to 0.15.43.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/0.15.42...0.15.43 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-08 07:33:38 +00:00
dependabot-preview[bot]
b7ed71b012
build(deps): bump vmm-sys-util from 9014b7a
to 54e256b
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `9014b7a` to `54e256b`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](9014b7ab94...54e256b2cb
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-08 07:13:38 +00:00
dependabot-preview[bot]
8fcaf91d3b
build(deps): bump redox_users from 0.3.0 to 0.3.1
...
Bumps redox_users from 0.3.0 to 0.3.1.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-08 07:11:11 +00:00
Rob Bradford
fca911e5f3
main: Add logging support controlled by command line
...
This makes the log macros (error!, warn!, info!, etc) in the code work.
It currently defaults to showing only error! messages, but by passing an
increasing number of "-v"s on the command line the verbosity can be
increased.
By default log output goes onto stderr but it can also be sent to a
file.
Fixes : #121
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-08-07 15:48:17 +01:00
dependabot-preview[bot]
6cc3e88742
build(deps): bump getrandom from 0.1.7 to 0.1.8
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.7...v0.1.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 07:22:10 +00:00
dependabot-preview[bot]
d1cd3c89c6
build(deps): bump vmm-sys-util from c0bbae5
to 9014b7a
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `c0bbae5` to `9014b7a`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](c0bbae555d...9014b7ab94
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 07:21:55 +00:00
dependabot-preview[bot]
91c7f271b3
build(deps): bump utf8-ranges from 1.0.3 to 1.0.4
...
Bumps [utf8-ranges](https://github.com/BurntSushi/utf8-ranges ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/BurntSushi/utf8-ranges/releases )
- [Commits](https://github.com/BurntSushi/utf8-ranges/compare/1.0.3...1.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 10:45:55 +00:00
dependabot-preview[bot]
87f148cbff
build(deps): bump regex-syntax from 0.6.10 to 0.6.11
...
Bumps [regex-syntax](https://github.com/rust-lang/regex ) from 0.6.10 to 0.6.11.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.10...regex-syntax-0.6.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 10:32:31 +00:00
dependabot-preview[bot]
778c60f21d
build(deps): bump vmm-sys-util from 71b5b25
to c0bbae5
...
Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util ) from `71b5b25` to `c0bbae5`.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases )
- [Commits](71b5b25dd5...c0bbae555d
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 10:31:17 +00:00
Rob Bradford
9caad7394d
build, misc: Bump vmm-sys-util dependency
...
The structure of the vmm-sys-util crate has changed with lots of code
moving to submodules.
This change adjusts the use of the imported structs to reference the
submodules.
Fixes : #145
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-08-02 07:42:20 -07:00
Rob Bradford
ac950d9a97
build: Bulk update dependencies
...
Update all dependencies with "cargo upgrade" with the exception of
vmm-sys-utils which needs some extra porting work.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-08-02 15:22:37 +02:00
dependabot-preview[bot]
0c9547618a
build(deps): bump vm-memory from 4c329f4
to 1635f25
...
Bumps [vm-memory](https://github.com/rust-vmm/vm-memory ) from `4c329f4` to `1635f25`.
- [Release notes](https://github.com/rust-vmm/vm-memory/releases )
- [Commits](4c329f4e76...1635f25afc
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 09:59:46 +00:00
dependabot-preview[bot]
6abd50f4b1
build(deps): bump clap from 2.27.1 to 2.33.0
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.27.1 to 2.33.0.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 08:35:38 +00:00
dependabot-preview[bot]
c7f8498571
build(deps): bump log from 0.4.6 to 0.4.8
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.6 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 08:22:44 +00:00
dependabot-preview[bot]
8a7cfe8ec4
build(deps): bump dirs from 2.0.1 to 2.0.2
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 08:21:19 +00:00
Samuel Ortiz
4d16ca8ae7
vmm: Support direct device assignment
...
With the VFIO crate, we can now support directly assigned PCI devices
into cloud-hypervisor guests.
We support assigning multiple host devices, through the --device command
line parameter. This parameter takes the host device sysfs path.
Fixes : #60
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-07-24 11:55:08 +02:00
Sebastien Boeuf
c93d5361b8
vfio: pci: Build the KVM routes
...
We track all MSI and MSI-X capabilities changes, which allows us to also
track all MSI and MSI-X table changes.
With both pieces of information we can build kvm irq routing tables and
map the physical device MSI/X vectors to the guest ones. Once that
mapping is in place we can toggle the VFIO IRQ API accordingly and
enable disable MSI or MSI-X interrupts, from the physical device up to
the guest.
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-07-24 11:55:08 +02:00