[Qemu-discuss] Qemu segfaults

2017-02-17 Thread Adam Bishop
Greetings I'm wondering if anyone can shed some light on an issue being encountered in one of our virtualized environments. Occasionally we have VMs that crash with a segfault encountered in qemu: qemu-system-x86[3020190]: segfault at 128 ip 7f09370cba9c sp 7f0923704000 error 4 in q

Re: [Qemu-discuss] quick pointer on adding a new chardev

2017-02-17 Thread Peter Maydell
On 17 February 2017 at 17:47, Herb Peyerl wrote: > On Feb 17, 2017, at 10:17 AM, Peter Maydell wrote: >> If your device is already present then you don't want to >> try to use -device (which would be attempting to add >> a second instance of it to the system). > > so then, as you say, I should be

Re: [Qemu-discuss] quick pointer on adding a new chardev

2017-02-17 Thread Herb Peyerl
> On Feb 17, 2017, at 10:17 AM, Peter Maydell wrote: > If your device is already present then you don't want to > try to use -device (which would be attempting to add > a second instance of it to the system). so then, as you say, I should be using ‘-global’ somehow instead to bind it to a ‘-cha

Re: [Qemu-discuss] quick pointer on adding a new chardev

2017-02-17 Thread Peter Maydell
On 17 February 2017 at 16:49, Herb Peyerl wrote: >> On Feb 17, 2017, at 9:36 AM, Peter Maydell wrote: qemu-system-aarch64: Option ‘-device myfoo’ cannot be handled by this machine >> >> This is saying "I don't know about this device at all", and >> doesn't have anything to do with char

Re: [Qemu-discuss] quick pointer on adding a new chardev

2017-02-17 Thread Herb Peyerl
[Thanks for your prompt and helpful reply. I’m digesting it now. I thought I would quickly respond to a couple of your points immediately.] > On Feb 17, 2017, at 9:36 AM, Peter Maydell wrote: >> As a side note, it appears that the API has changed in recent >> versions of qemu (CharBackend, an

Re: [Qemu-discuss] quick pointer on adding a new chardev

2017-02-17 Thread Peter Maydell
On 17 February 2017 at 15:47, Herb Peyerl wrote: > I’ve managed to get a basic qemu device written that responds to register > reads/writes and inserts writes from the guest Linux instance into a Qemu > Fifo. Now I’m trying to hook the device up to a TCP socket listening on > another host (nc

[Qemu-discuss] quick pointer on adding a new chardev

2017-02-17 Thread Herb Peyerl
I’m in the process of writing new device emulator for some custom hardware (an FPGA core with some FIFOs and interrupts on an ARM platform) … My goal is to tie these FIFOs to a TCP socket on the Qemu side. This is my first device emulation so I’m new to Qemu internals. I’ve managed to get a

Re: [Qemu-discuss] KVM Qemu libvirtd virtual bridged with bond advanced-alb

2017-02-17 Thread Mimiko
On 14.04.2016 21:09, Mimiko wrote: Hello. Recently I started to use qemu-kvm for virtualisation. I've setup a bridged network and use it in virtual machine: default test hvm When the bond used in the bridge setup