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:
renovate[bot]
2023-10-03 01:10:53 +00:00
committed by GitHub
parent 527cf365c1
commit 8b647cdb5f
4 changed files with 6 additions and 6 deletions

View File

@ -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