Re: [Qemu-devel] -snapshot

2010-12-16 Thread Amador Pahim
Thanks. Some stuff are clear now. I started a VDI Open Source project (http://www.ucs.br/projeto/osdvt/) and your information will help a lot. Pahim On Thu, Dec 16, 2010 at 4:16 PM, Stefan Weil wrote: > Am 16.12.2010 18:45, schrieb Stefan Hajnoczi: >> >> On Thu, Dec 16, 2010 at 4:34 PM, Amador P

[Qemu-devel] [PATCH 2/2] rtl8139: Use subsection to restrict migration after hotplug

2010-12-16 Thread Alex Williamson
rtl8139 includes a cpu_register_io_memory acquired value in it's migration data. This is not only unecessary, but we should treat these values as unique to the VM instances since the value depends on call order. In most cases, this miraculously still works. However, if devices are added or remove

Re: [Qemu-devel] [PATCH v2 2/6] qdev: reset qdev along with qdev tree

2010-12-16 Thread Stefan Weil
Am 19.11.2010 10:55, schrieb Isaku Yamahata: From: Anthony Liguori This patch changes the reset handling so that qdev has no knowledge of the global system reset. Instead, a new bus/device level function is introduced that allows all devices/buses on the bus/device to be reset using a depth f

[Qemu-devel] [PATCH] win32: Fix CRLF problem in make_device_config.sh

2010-12-16 Thread Stefan Weil
QEMU source code with CRLF line endings which is quite common on windows hosts fails with current make_device_config.sh. The awk script gets the name of the included file with \r, so instead of pci.mak it will search for pci.mak\r which of course does not work. Fix this by removing any \r at end

[Qemu-devel] Re: [PATCH] win32: Fix CRLF problem in make_device_config.sh

2010-12-16 Thread Paolo Bonzini
On 12/16/2010 10:52 PM, Stefan Weil wrote: QEMU source code with CRLF line endings which is quite common on windows hosts fails with current make_device_config.sh. The awk script gets the name of the included file with \r, so instead of pci.mak it will search for pci.mak\r which of course does n

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-16 Thread Michael S. Tsirkin
On Thu, Dec 16, 2010 at 04:40:32PM +, Stefan Hajnoczi wrote: > On Wed, Dec 15, 2010 at 12:59 PM, Stefan Hajnoczi wrote: > > On Wed, Dec 15, 2010 at 12:14 PM, Michael S. Tsirkin > > wrote: > >> On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: > >>> Are you happy with this patc

[Qemu-devel] Re: [PATCH 0/2] Fix rtl8139 migration with hotplug

2010-12-16 Thread Michael S. Tsirkin
On Thu, Dec 16, 2010 at 11:01:49AM -0700, Alex Williamson wrote: > Ok, I think this might actually make everyone happy, but I've been > known to be wrong about that many times before. Juan challenged me > to find an rtl8139 migration scenario that fails when hotplug is > not involved (and not swit

Re: [Qemu-devel] [PATCH v2 2/6] qdev: reset qdev along with qdev tree

2010-12-16 Thread Michael S. Tsirkin
On Thu, Dec 16, 2010 at 08:31:21PM +0100, Stefan Weil wrote: > Am 19.11.2010 10:55, schrieb Isaku Yamahata: > >From: Anthony Liguori > > > >This patch changes the reset handling so that qdev has no knowledge of the > >global system reset. Instead, a new bus/device level function is > >introduced >

Re: [Qemu-devel] [PATCH v2 2/6] qdev: reset qdev along with qdev tree

2010-12-16 Thread Anthony Liguori
On 12/16/2010 05:48 PM, Michael S. Tsirkin wrote: On Thu, Dec 16, 2010 at 08:31:21PM +0100, Stefan Weil wrote: Am 19.11.2010 10:55, schrieb Isaku Yamahata: From: Anthony Liguori This patch changes the reset handling so that qdev has no knowledge of the global system reset. Instead, a

[Qemu-devel] Re: [PATCH 0/2] Fix rtl8139 migration with hotplug

2010-12-16 Thread Juan Quintela
Alex Williamson wrote: > Ok, I think this might actually make everyone happy, but I've been > known to be wrong about that many times before. Juan challenged me > to find an rtl8139 migration scenario that fails when hotplug is > not involved (and not switch device creation order since that's a >

Re: [Qemu-devel] [PATCH v2 2/6] qdev: reset qdev along with qdev tree

2010-12-16 Thread Isaku Yamahata
On Thu, Dec 16, 2010 at 08:31:21PM +0100, Stefan Weil wrote: > The second regression also occurs with MIPS malta. > Networking no longer works with the default pcnet nic. > > This is caused because the reset function for pcnet is no > longer called during system boot. The result in an invalid > mac

Re: [Qemu-devel] [PATCH v2 2/6] qdev: reset qdev along with qdev tree

2010-12-16 Thread Isaku Yamahata
On Fri, Dec 17, 2010 at 01:29:42PM +0900, Isaku Yamahata wrote: > On Thu, Dec 16, 2010 at 08:31:21PM +0100, Stefan Weil wrote: > > The second regression also occurs with MIPS malta. > > Networking no longer works with the default pcnet nic. > > > > This is caused because the reset function for pcne

Re: [Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-16 Thread Lai Jiangshan
On 12/16/2010 09:17 PM, Luiz Capitulino wrote: > On Thu, 16 Dec 2010 15:11:50 +0200 > Avi Kivity wrote: >> >> Why have an argument at all? Always nmi to all cpus. > I think Avi's suggest is better, and I will use "inject-nmi" (without cpu-index argument) to send NMI to all cpus, like physical G

[Qemu-devel] [Bug 691424] [NEW] qemu/kvm SDL over ssh -X broken

2010-12-16 Thread Bernhard M.
Public bug reported: qemu/kvm by default uses SDL to render the output of its emulated VGA graphics. This is broken over ssh -X since quite a while. The only workaround I know, is to use qemu -vnc :0 and connect using vncviewer How To Reproduce: 1. zypper in qemu 2. ssh -X localhost qemu -cdrom

<    1   2