mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-01 04:11:20 +00:00
i2c: update License in source files and readme
Cargo.toml defines `license = "Apache-2.0 OR BSD-3-Clause"`, so let's update the SPDX in source files and add a section in the readme about the license. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
This commit is contained in:
parent
bd61beeed9
commit
8ead248560
@ -62,3 +62,10 @@ use to communicate as well as share the guests memory over a memfd.
|
||||
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
|
||||
-numa node,memdev=mem \
|
||||
...
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under either of
|
||||
|
||||
- [Apache License](http://www.apache.org/licenses/LICENSE-2.0), Version 2.0
|
||||
- [BSD-3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// Copyright 2021 Linaro Ltd. All Rights Reserved.
|
||||
// Viresh Kumar <viresh.kumar@linaro.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use log::info;
|
||||
use std::collections::HashMap;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// Copyright 2021 Linaro Ltd. All Rights Reserved.
|
||||
// Viresh Kumar <viresh.kumar@linaro.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
mod i2c;
|
||||
mod vhu_i2c;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// Copyright 2021 Linaro Ltd. All Rights Reserved.
|
||||
// Viresh Kumar <viresh.kumar@linaro.org>
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use log::warn;
|
||||
use std::mem::size_of;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user