File tree Expand file tree Collapse file tree 5 files changed +31
-14
lines changed
Expand file tree Collapse file tree 5 files changed +31
-14
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ nix = "^0.23.0"
4141enum-iterator = " 0.7.0"
4242thiserror = " 1.0"
4343libc = { version = " 0.2.58" , optional = true }
44- xenctrl = { version = " =0.7 .0" , optional = true }
44+ xenctrl = { version = " =0.9 .0" , optional = true }
4545xenstore-rs = { version = " =0.3.2" , optional = true }
4646xenforeignmemory = { version = " =0.3.0" , optional = true }
4747xenevtchn = { version = " =0.2.0" , optional = true }
Original file line number Diff line number Diff line change 22name = " pymicrovmi"
33# note "pymicrovmi" is just a conflict free name for Cargo
44# the Python package is named "microvmi" (setup.py)
5- version = " 0.2.15 "
5+ version = " 0.2.16 "
66authors = [" Mathieu Tarral <mathieu.tarral@protonmail.com>" ]
77edition = " 2018"
88description = " Python bindings for libmicrovmi"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN yum -y install llvm-toolset-7.0-clang llvm-toolset-7.0-clang-devel
77# Note: the first sed disables a compiler flag that would be treated as an error
88# the second sed disabled the compilation of qemu, which is very long and also
99# had errors, and we don't need it anyway
10- RUN git clone -b RELEASE-4.17 .0 --depth 1 https://github.com/xen-project/xen \
10+ RUN git clone -b RELEASE-4.18 .0 --depth 1 https://github.com/xen-project/xen \
1111 && cd xen \
1212 && yum install -y flex ninja-build dev86 xz-devel python3-devel gettext-devel iasl \
1313 ncurses-devel pixman-devel wget yajl-devel zlib-devel \
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ impl Introspectable for Xen {
211211 fn get_vcpu_count ( & self ) -> Result < u16 , Box < dyn Error > > {
212212 let domain_info = self
213213 . xc
214- . domain_getinfo ( self . domid )
214+ . domain_getinfolist ( self . domid )
215215 . map_err ( XenDriverError :: from) ?
216216 . ok_or ( "Domain info not found" ) ?;
217217 Ok ( ( domain_info. max_vcpu_id + 1 ) . try_into ( ) . unwrap ( ) )
You can’t perform that action at this time.
0 commit comments