[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Question about QEMU as ide device emulator
Hello all,
Summary I am using XEN hypervisor to run a HVM with a QEMU backed disk. After I start the HVM I use QMP "query-block" command to see the devices of the VM. Initially the command returns the disk that I set as part of the configuration but after a few seconds the "query-block" command returns an empty result. KVM Version: 4.6.5 Arch: x86-64 QEMU : 2.2.1 I was expecting to see the device information in QEMU such as: {"execute":"query-block"} {"return": [{"io-status": "ok", "device": "ide0-hd0", "locked": false, "removable": false, "inserted": {"iops_rd": 0, "detect_zeroes": "off", "image": {"virtual-size": 10737418240, "filename": "/home/balvisio/debian-disk.im I wanted to understand how the storage subsystem work for QEMU backed disks. Any help and pointers in the code would be great. Eventually I would like to implement a feature in XEN to allow migration of instances with local disks. Thanks, Bruno DETAILED LOGS I am using XEN hypervisor to run a HVM with QEMU backed disk. When I start the HVM I see the following QEMU process started: root 2199 1 0 18:57 ? 00:00:02 /usr/local/lib/xen/bin/qemu-sy After launching the VM, I connected to the QMP socket: # rlwrap -C qmp socat STDIO UNIX:/var/run/xen/qmp-libxl-2 {"QMP": {"version": {"qemu": {"micro": 1, "minor": 2, "major": 2}, "package": ""}, "capabilities": []}} {"execute":"qmp_capabilities"} {"return": {}} I issue the "query-block" command and I get {"execute":"query-block"} {"return": []} Xen Config File Used kernel="/usr/local/lib/xen/boo builder='hvm' memory=1024 vcpus=1 name="debianL2" vfb = ['type=vnc'] vif= ['bridge=xenbr0'] boot='b' disk=['file:/home/balvisio/deb acpi=1 device_model_version='qemu-xen serial='pty' vnc=1 vnclisten="" vncpasswd="" _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |