Re: use vnc in arm-kvm

2018-05-17 Thread Marc Zyngier
On 17/05/18 01:58, lizhuoyao wrote:
> you said VGA cannot be realistically supported on ARM at the moment,then
> wrote it's ok checked with VNC.Did you experiment in x86 or arm?

What would be the point in trying an x86 box, as we both know that it
works? I checked using virtio-gpu, on an arm64 machine (rk3399 based
chromebook). Not x86, not VGA.

> There is likely no -device(--device) parameter in "virt-install -h".
> Sorry, I'm not familiar with virt-install much. Can you show the order
> you use?

OK, you simply haven't read my email. I said:

>> It works well enough for me, although I do not use libvirt, and
>> stick to just qemu. For the record, this is the relevant section of
>> my command line:

To repeat: I don't use libvirt, but QEMU directly. If you have libvirt
questions, please do as Laszlo suggested and ask the question on the
libvirt mailing list.

M.
-- 
Jazz is not dead. It just smells funny...
___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


Re:Re: use vnc in arm-kvm

2018-05-17 Thread lizhuoyao
you said VGA cannot be realistically supported on ARM at the moment,then wrote 
it's ok checked with VNC.Did you experiment in x86 or arm?

There is likely no -device(--device) parameter in "virt-install -h". Sorry, I'm 
not familiar with virt-install much. Can you show the order you use?
Thanks!


--
 Have a good day



 > -原始邮件-
> 发件人: Marc Zyngier <marc.zyng...@arm.com>
> 发送时间: 2018年5月16日 星期三
> 收件人: lizhuoyao <lizhuo...@hikdata.com>, kvmarm@lists.cs.columbia.edu
> 抄送: 
> 主题: Re: use vnc in arm-kvm
> 
> On 16/05/18 03:24, lizhuoyao wrote:
> > hi everyone:
> >   currently, I meet a problem about qemu.Use virt-install order to
> > create a domain, return a failed:
> >   order:_virt-install -n centos-gg -r 1024 --disk
> > centos-gg.img,format=qcow2,size=10 --cdrom
> > /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> > _   failed:_this QEMU does not support 'cirrus' video device__
> > _   This issue only happen in arm,and it's ok in x86. I get some message
> > in the internet that VGA is a (more or less) x86-specific standard, not
> > available on ARM. Right?
> > tool: qemu-2.12.0 libvirt-3.2.0__
> 
> VGA, or rather the way it is used in the Linux kernel cannot be
> realistically supported on ARM at the moment. But if you want a
> graphical display, why not using virtio-gpu?
> 
> It works well enough for me, although I do not use libvirt, and stick
> to just qemu. For the record, this is the relevant section of my command
> line:
> 
> -device virtio-gpu-pci -display sdl -device virtio-tablet-pci -device
> usb-ehci,id=ehci -device usb-kbd
> 
> I've just checked with VNC:
> 
> -device virtio-gpu-pci -display vnc=127.0.0.1:0,to=100 -device
> virtio-tablet-pci -device usb-ehci,id=ehci -device usb-kbd
> 
> and although it is much slower (not surprising), it seems to work just
> as well.
> 
> Hope this helps,
> 
>   M.
> -- 
> Jazz is not dead. It just smells funny...



___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


Re:Re: use vnc in arm-kvm

2018-05-17 Thread lizhuoyao
select virtio video also failed.
order:virt-install -n centos-gg -r 1024 --disk 
centos-gg.img,format=qcow2,size=10 --cdrom 
/home/lzy/CentOs-7-aarch64-Everything.iso --video virtio
 failed: PCI controller at index 1 (0x01) has bus='0x01',but index must be 
larger than bus.

(I have tryed in other mail list)


--
 Have a good day


> -原始邮件-
> 发件人: Laszlo Ersek <ler...@redhat.com>
> 发送时间: 2018年5月16日 星期三
> 收件人: lizhuoyao <lizhuo...@hikdata.com>, kvmarm@lists.cs.columbia.edu
> 抄送: 
> 主题: Re: use vnc in arm-kvm
> 
> On 05/16/18 04:24, lizhuoyao wrote:
> > hi everyone:
> >   currently, I meet a problem about qemu.Use virt-install order to create a 
> > domain, return a failed:
> >   order: virt-install -n centos-gg -r 1024 --disk 
> > centos-gg.img,format=qcow2,size=10 --cdrom 
> > /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> > failed: this QEMU does not support 'cirrus' video device
> >This issue only happen in arm,and it's ok in x86. I get some message in 
> > the internet that VGA is a (more or less) x86-specific standard, not 
> > available on ARM. Right?
> > tool: qemu-2.12.0 libvirt-3.2.0
> 
> Please select the "virtio" video device model.
> 
> (Also, the kvmarm list is not appropriate for discussing this; please
> use <https://www.redhat.com/mailman/listinfo/virt-tools-list> or
> <https://www.redhat.com/mailman/listinfo/libvirt-users> instead.)
> 
> Thanks
> Laszlo



___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


Re: use vnc in arm-kvm

2018-05-16 Thread Laszlo Ersek
On 05/16/18 04:24, lizhuoyao wrote:
> hi everyone:
>   currently, I meet a problem about qemu.Use virt-install order to create a 
> domain, return a failed:
>   order: virt-install -n centos-gg -r 1024 --disk 
> centos-gg.img,format=qcow2,size=10 --cdrom 
> /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> failed: this QEMU does not support 'cirrus' video device
>This issue only happen in arm,and it's ok in x86. I get some message in 
> the internet that VGA is a (more or less) x86-specific standard, not 
> available on ARM. Right?
> tool: qemu-2.12.0 libvirt-3.2.0

Please select the "virtio" video device model.

(Also, the kvmarm list is not appropriate for discussing this; please
use  or
 instead.)

Thanks
Laszlo
___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


Re: use vnc in arm-kvm

2018-05-16 Thread Marc Zyngier
On 16/05/18 03:24, lizhuoyao wrote:
> hi everyone:
>   currently, I meet a problem about qemu.Use virt-install order to
> create a domain, return a failed:
>   order:_virt-install -n centos-gg -r 1024 --disk
> centos-gg.img,format=qcow2,size=10 --cdrom
> /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> _   failed:_this QEMU does not support 'cirrus' video device__
> _   This issue only happen in arm,and it's ok in x86. I get some message
> in the internet that VGA is a (more or less) x86-specific standard, not
> available on ARM. Right?
> tool: qemu-2.12.0 libvirt-3.2.0__

VGA, or rather the way it is used in the Linux kernel cannot be
realistically supported on ARM at the moment. But if you want a
graphical display, why not using virtio-gpu?

It works well enough for me, although I do not use libvirt, and stick
to just qemu. For the record, this is the relevant section of my command
line:

-device virtio-gpu-pci -display sdl -device virtio-tablet-pci -device
usb-ehci,id=ehci -device usb-kbd

I've just checked with VNC:

-device virtio-gpu-pci -display vnc=127.0.0.1:0,to=100 -device
virtio-tablet-pci -device usb-ehci,id=ehci -device usb-kbd

and although it is much slower (not surprising), it seems to work just
as well.

Hope this helps,

M.
-- 
Jazz is not dead. It just smells funny...
___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm


use vnc in arm-kvm

2018-05-16 Thread lizhuoyao
hi everyone:
  currently, I meet a problem about qemu.Use virt-install order to create a 
domain, return a failed:
  order: virt-install -n centos-gg -r 1024 --disk 
centos-gg.img,format=qcow2,size=10 --cdrom 
/home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
failed: this QEMU does not support 'cirrus' video device
   This issue only happen in arm,and it's ok in x86. I get some message in the 
internet that VGA is a (more or less) x86-specific standard, not available on 
ARM. Right?
tool: qemu-2.12.0 libvirt-3.2.0

   Thanks!

--
Have a good day







___
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm