Re: Problem with a RAW Disk and Xen

2020-09-08 Thread Jim Fehlig
On 9/3/20 6:33 AM, Christoph wrote: If your disk XML contains , which your earlier example did, then the conversion is correct since it maps to backendtype=qdisk. If however your XML contains and it maps to backendtype=qdisk, then we have a bug. my native configuration has: "phy:/dev/mapper/k

Re: Problem with a RAW Disk and Xen

2020-09-03 Thread Christoph
If your disk XML contains , which your earlier example did, then the conversion is correct since it maps to backendtype=qdisk. If however your XML contains and it maps to backendtype=qdisk, then we have a bug. my native configuration has: "phy:/dev/mapper/keys,xvdz,r" and virsh domxml-from-na

Re: Problem with a RAW Disk and Xen

2020-08-30 Thread Jim Fehlig
On 8/27/20 11:53 PM, Christoph wrote: "phy:/dev/mapper/keys,xvdz,r" As expected you are using blkback. hm then it seems that there is a bug in domxml-from-native virsh translation... I've done the xml config with: virsh domxml-from-native xen-xl... If your disk XML contains , which your e

Re: Problem with a RAW Disk and Xen

2020-08-27 Thread Christoph
"phy:/dev/mapper/keys,xvdz,r" As expected you are using blkback. hm then it seems that there is a bug in domxml-from-native virsh translation... I've done the xml config with: virsh domxml-from-native xen-xl...

Re: Problem with a RAW Disk and Xen

2020-08-27 Thread Jim Fehlig
On 8/27/20 2:47 PM, Christoph wrote: Using blkback works for me, e.g. . what is the diff to 'qemu'? It's just a different block backend. Xen supports both qemu as a block backend and blkback. blkback only supports raw IIRC. And apparently, when used with Xen, the qemu backend only support

Re: Problem with a RAW Disk and Xen

2020-08-27 Thread Christoph
Using blkback works for me, e.g. . what is the diff to 'qemu'? What xl config did you use? It doesn't work for me if I specify qdisk and readonly. E.g. the following does not work "backendtype=qdisk,format=raw,vdev=xvdz,access=ro,target=..." "phy:/dev/mapper/keys,xvdz,r" Greetz

Re: Problem with a RAW Disk and Xen

2020-08-27 Thread Jim Fehlig
On 8/27/20 3:49 AM, Christoph wrote: Hi All, I have in config of 2 Xen DomU's this disk:         Using blkback works for me, e.g. . If I start the DomU's then all starts without problem, see this in log of the DomU: {     "pdev_path": "/dev/mapper/keys",

Problem with a RAW Disk and Xen

2020-08-27 Thread Christoph
Hi All, I have in config of 2 Xen DomU's this disk: If I start the DomU's then all starts without problem, see this in log of the DomU: { "pdev_path": "/dev/mapper/keys", "vdev": "xvdz", "backend": "qdisk", "format":