mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Merge pull request #19055 from containers/renovate/github.com-containers-libhvee-0.x
fix(deps): update module github.com/containers/libhvee to v0.2.0
This commit is contained in:
2
go.mod
2
go.mod
@ -16,7 +16,7 @@ require (
|
||||
github.com/containers/common v0.54.0
|
||||
github.com/containers/conmon v2.0.20+incompatible
|
||||
github.com/containers/image/v5 v5.26.0
|
||||
github.com/containers/libhvee v0.0.5
|
||||
github.com/containers/libhvee v0.2.0
|
||||
github.com/containers/ocicrypt v1.1.7
|
||||
github.com/containers/psgo v1.8.0
|
||||
github.com/containers/storage v1.47.0
|
||||
|
4
go.sum
4
go.sum
@ -247,8 +247,8 @@ github.com/containers/conmon v2.0.20+incompatible h1:YbCVSFSCqFjjVwHTPINGdMX1F6J
|
||||
github.com/containers/conmon v2.0.20+incompatible/go.mod h1:hgwZ2mtuDrppv78a/cOBNiCm6O0UMWGx1mu7P00nu5I=
|
||||
github.com/containers/image/v5 v5.26.0 h1:P9H4+N/7fTTClnFthIWgJU+0LBkhGlW2tCWR+UNG0Vs=
|
||||
github.com/containers/image/v5 v5.26.0/go.mod h1:QSW67adLL/B4eYsFPG6TjH5Ye4LiLazPAGWk5oQnUdQ=
|
||||
github.com/containers/libhvee v0.0.5 h1:5tUiF2eVe8XbVSPD/Os4dIU1gJWoQgtkQHIjQ5X7wpE=
|
||||
github.com/containers/libhvee v0.0.5/go.mod h1:AYsyMe44w9ylWWEZNW+IOzA7oZ2i/P9TChNljavhYMI=
|
||||
github.com/containers/libhvee v0.2.0 h1:6h7LdSvBt176oIdMXKkgxdoT/IVP+o/gkwgyjWzvEAo=
|
||||
github.com/containers/libhvee v0.2.0/go.mod h1:Zr2Qhnl5THW/HQjF1o8HmxXWjvHfJb8fvd0ThTzHMys=
|
||||
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 h1:Qzk5C6cYglewc+UyGf6lc8Mj2UaPTHy/iF2De0/77CA=
|
||||
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
|
||||
github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc=
|
||||
|
8
vendor/github.com/containers/libhvee/pkg/wmiext/service.go
generated
vendored
8
vendor/github.com/containers/libhvee/pkg/wmiext/service.go
generated
vendored
@ -62,6 +62,7 @@ func connectService(namespace string) (*Service, error) {
|
||||
var err error
|
||||
var res uintptr
|
||||
var strResource *uint16
|
||||
var strLocale *uint16
|
||||
var service *ole.IUnknown
|
||||
|
||||
loc := fmt.Sprintf(`\\.\%s`, namespace)
|
||||
@ -70,6 +71,11 @@ func connectService(namespace string) (*Service, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Connect with en_US LCID since we do pattern matching against English key values
|
||||
if strLocale, err = syscall.UTF16PtrFromString("MS_409"); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
myVTable := (*IWbemLocatorVtbl)(unsafe.Pointer(wmiWbemLocator.RawVTable))
|
||||
res, _, _ = syscall.SyscallN(
|
||||
myVTable.ConnectServer, // IWbemLocator::ConnectServer(
|
||||
@ -77,7 +83,7 @@ func connectService(namespace string) (*Service, error) {
|
||||
uintptr(unsafe.Pointer(strResource)), // [in] const BSTR strNetworkResource,
|
||||
uintptr(0), // [in] const BSTR strUser,
|
||||
uintptr(0), // [in] const BSTR strPassword,
|
||||
uintptr(0), // [in] const BSTR strLocale,
|
||||
uintptr(unsafe.Pointer(strLocale)), // [in] const BSTR strLocale,
|
||||
uintptr(WBEM_FLAG_CONNECT_USE_MAX_WAIT), // [in] long lSecurityFlags,
|
||||
uintptr(0), // [in] const BSTR strAuthority,
|
||||
uintptr(0), // [in] IWbemContext *pCtx,
|
||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -258,7 +258,7 @@ github.com/containers/image/v5/transports
|
||||
github.com/containers/image/v5/transports/alltransports
|
||||
github.com/containers/image/v5/types
|
||||
github.com/containers/image/v5/version
|
||||
# github.com/containers/libhvee v0.0.5
|
||||
# github.com/containers/libhvee v0.2.0
|
||||
## explicit; go 1.18
|
||||
github.com/containers/libhvee/pkg/hypervctl
|
||||
github.com/containers/libhvee/pkg/kvp/ginsu
|
||||
|
Reference in New Issue
Block a user