mirror of
https://github.com/containers/podman.git
synced 2025-10-20 12:43:58 +08:00
Update github.com/containers/libhvee digest to e9b1811
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
4
vendor/github.com/containers/libhvee/pkg/hypervctl/vmm.go
generated
vendored
4
vendor/github.com/containers/libhvee/pkg/hypervctl/vmm.go
generated
vendored
@ -24,7 +24,7 @@ func NewVirtualMachineManager() *VirtualMachineManager {
|
||||
}
|
||||
|
||||
func (vmm *VirtualMachineManager) GetAll() ([]*VirtualMachine, error) {
|
||||
const wql = "Select * From Msvm_ComputerSystem Where Caption = 'Virtual Machine'"
|
||||
const wql = "Select * From Msvm_ComputerSystem Where Description = 'Microsoft Virtual Machine'"
|
||||
|
||||
var service *wmiext.Service
|
||||
var err error
|
||||
@ -69,7 +69,7 @@ func (vmm *VirtualMachineManager) Exists(name string) (bool, error) {
|
||||
}
|
||||
|
||||
func (*VirtualMachineManager) GetMachine(name string) (*VirtualMachine, error) {
|
||||
const wql = "Select * From Msvm_ComputerSystem Where Caption = 'Virtual Machine' And ElementName='%s'"
|
||||
const wql = "Select * From Msvm_ComputerSystem Where Description = 'Microsoft Virtual Machine' And ElementName='%s'"
|
||||
|
||||
vm := &VirtualMachine{}
|
||||
var service *wmiext.Service
|
||||
|
Reference in New Issue
Block a user