Function to convert pixman format codes to qemu PixelFormat.
[ Benjamin Herrenschmidt: fix BGRA+RGBA shifts ]
Signed-off-by: Gerd Hoffmann
---
include/ui/qemu-pixman.h | 1 +
ui/qemu-pixman.c | 56
2 files changed, 57 insertions(+)
diff
Function returning the default pixman format for a given depth.
Signed-off-by: Gerd Hoffmann
---
include/ui/qemu-pixman.h | 1 +
ui/qemu-pixman.c | 25 +
2 files changed, 26 insertions(+)
diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h
index 090
This patch adds a qemu_create_displaysurface_guestmem helper function.
Works simliar to qemu_create_displaysurface_from, but accepts a
guest address instead of a host pointer and it handles
cpu_physical_memory_{map,unmap} for you.
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 4
Hi,
This patch series makes the console code use pixman format codes
internally. It also adds some helper functions for gfx emulation
code. I have some wip patches for pl110 using them, but they are
not ready yet so they are not included in this pull req.
v2: added missing signed-off-by
plea
Use the new qemu_pixelformat_from_pixman and qemu_default_pixman_format
functions to reimplement qemu_default_pixelformat
(qemu_different_endianness_pixelformat too).
Signed-off-by: Gerd Hoffmann
---
ui/console.c | 117 ++-
1 file changed,
Helper function for copying data from linebuf to framebuffer using
pixman, possibly converting in case src and dst formats differ.
Signed-off-by: Gerd Hoffmann
---
include/ui/qemu-pixman.h | 2 ++
ui/qemu-pixman.c | 9 +
2 files changed, 11 insertions(+)
diff --git a/include/ui/
Calls dpy_gfx_update for all dirty scanlines. Works for
DisplaySurfaces backed by guest memory (i.e. the ones created
using qemu_create_displaysurface_guestmem).
Signed-off-by: Gerd Hoffmann
---
include/ui/console.h | 4
ui/console.c | 61 +++
On Tue, Sep 09, 2014 at 03:28:43PM +0200, Paolo Bonzini wrote:
> Il 09/09/2014 15:26, Juan Quintela ha scritto:
> > Paolo Bonzini wrote:
> >> From: Pavel Dovgalyuk
> >>
> >> VMState added by this patch preserves correct
> >> loading of the PC speaker device state.
> >>
> >> This breaks migration
It isn't used.
Signed-off-by: Gerd Hoffmann
---
ui/sdl2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ui/sdl2.c b/ui/sdl2.c
index fcac87b..1ad74ba 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -35,7 +35,6 @@
#include "ui/console.h"
#include "ui/input.h"
#include "sysemu/sysemu.h"
-#include
From: Benjamin Herrenschmidt
If we need to, we should use the pixman formats instead but for
now this is unused except in commented out code so take it out
to avoid further confusion about surface endianness.
Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Gerd Hoffmann
---
include/ui/co
With this patch the qemu console core stops using PixelFormat and pixman
format codes side-by-side, pixman format code is the primary way to
specify the DisplaySurface format:
* DisplaySurface stops carrying a PixelFormat field.
* qemu_create_displaysurface_from() expects a pixman format now.
F
In order to make the device tree blob (DTB) available in memory not only at
first boot, but also after system reset, use rom_blob_add_fixed() to install
it into memory.
Reviewed-by: Peter Maydell
Signed-off-by: Ard Biesheuvel
---
hw/arm/boot.c | 5 -
1 file changed, 4 insertions(+), 1 delet
Add an address limit input parameter to load_dtb() so that we can
tell it how much memory the dtb is allowed to consume. If the dtb
doesn't fit, return 0, otherwise return the actual size of the
loaded dtb, or -1 on error.
Signed-off-by: Ard Biesheuvel
---
hw/arm/boot.c | 16 +---
1
Il 10/09/2014 13:56, Michael S. Tsirkin ha scritto:
>> > I've applied all patches except 4 to the uq/master branch. Patch 4
>> > deserves more discussion to see what to do about older machine types
>> > (spoiler: my idea is "nothing" :)).
>> >
>> > Paolo
> 9/10 with a tweak to commit log/comments
Make a few keys works correctly in SDL2.
Signed-off-by: Gerd Hoffmann
---
ui/sdl2-keymap.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/ui/sdl2-keymap.h b/ui/sdl2-keymap.h
index 5a12f45..cbedaa4 100644
--- a/ui/sdl2-keymap.h
+++ b/ui/sdl2-keymap.h
@@ -105,9 +105,10
I split off these patches from the series I sent last week. Peter's NOR flash
patch has been merged in the mean time, and the CPU reset patch needs to be
discussed more widely before we can move forward with it.
So what remains are changes in the DTB handling in hw/arm/boot.c, to load a
DTB even w
Add support for loading DTB images when booting ELF images using
-kernel. If there are no conflicts with the placement of the ELF
segments, the DTB image is loaded at the base of RAM.
Signed-off-by: Ard Biesheuvel
---
hw/arm/boot.c | 16 ++--
1 file changed, 14 insertions(+), 2 delet
If we are running the 'virt' machine, we may have a device tree blob but no
kernel to supply it to if no -kernel option was passed. In that case, copy it
to the base of RAM where it can be picked up by a bootloader.
Signed-off-by: Ard Biesheuvel
---
hw/arm/boot.c | 10 ++
1 file changed,
The second parameter of dump_error is unused, but one purpose of
using this function is to report the error info.
Use error_set to return the error info to the caller.
Signed-off-by: zhanghailiang
---
V4:
- Adjust the errp argument to the end
- Remove trailing '.' in error messages
V3:
- Drop
Hello,
see my answer inline:
On Wed, Sep 10, 2014 at 6:00 AM, Linhaifeng wrote:
> Hi,
>
> Thank you for your answer.I think the problem is not how to publish the patch
> the problem is there is no standard vhost-user module.
>
> I just use the vapp to test the new backend vhost-user. I found th
On Tue, Sep 09, 2014 at 03:40:07PM +0200, Paolo Bonzini wrote:
> Il 09/09/2014 15:32, Juan Quintela ha scritto:
> > This breaks migration with old machine type, but as far as I can see,
> > parallel is only added when used, and if we are using it, we need this,
> > right?
>
> Yes.
Presumably, yo
The Wednesday 10 Sep 2014 à 10:13:30 (+0200), Markus Armbruster wrote :
> Creating an anonymous BDS can't fail. Make that obvious.
>
> Signed-off-by: Markus Armbruster
> ---
> block.c | 26 +++---
> block/iscsi.c | 2 +-
> block/vvfat.c | 2 +-
Il 10/09/2014 14:09, Michael S. Tsirkin ha scritto:
>> > Yes.
>
> Presumably, your next statement means that guests can typically recover
> if parallel state is discarded in migration?
No, it means that I would not care just like for pcspk.
If they are using parallel at the time of migration, th
On Wed, Sep 10, 2014 at 12:59:35PM +0200, Paolo Bonzini wrote:
> Il 10/09/2014 14:02, Michael S. Tsirkin ha scritto:
> > That's not too hard: we need two types that only
> > differ in the vmstate.
> > Use the correct one to create the device depending
> > on the pc type.
> >
> > Put in that light,
On 10 September 2014 11:59, Ard Biesheuvel wrote:
> Add support for loading DTB images when booting ELF images using
> -kernel. If there are no conflicts with the placement of the ELF
> segments, the DTB image is loaded at the base of RAM.
>
> Signed-off-by: Ard Biesheuvel
> ---
> hw/arm/boot.c
> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> Il 09/09/2014 15:59, Juan Quintela ha scritto:
> > But poll_msl is "more" interesting, because we are not "reseting it".
> >
> > So, we have that if we are migrating from an old version, we would have
> > poll_msl == -1, and we used to have it to
Il 10/09/2014 14:20, Michael S. Tsirkin ha scritto:
> > Do you have an example? I can think of one that we did in RHEL (hda)
> > but it was never upstream.
>
> Well the whole PC machine is exactly like this, isn't it?
Sorry, I cannot parse.
You proposed creating two versions of pcspk that only
On 10 September 2014 13:21, Peter Maydell wrote:
> On 10 September 2014 11:59, Ard Biesheuvel wrote:
>> Add support for loading DTB images when booting ELF images using
>> -kernel. If there are no conflicts with the placement of the ELF
>> segments, the DTB image is loaded at the base of RAM.
>>
formated -> formatted
gaurantee -> guarantee
shear -> sheer
Signed-off-by: zhanghailiang
---
v2:
The typos in epapr_hcalls.h should be fixed via the kernel (comment of PMM)
---
hw/ppc/spapr.c | 2 +-
libcacard/vcard_emul_nss.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletion
On Wed, Sep 10, 2014 at 12:48 PM, Ard Biesheuvel
wrote:
> On 10 September 2014 12:43, Christoffer Dall
> wrote:
>> On Tue, Sep 09, 2014 at 03:53:43PM +0100, Peter Maydell wrote:
>>> The pl011 and pl031 devices both use level triggered interrupts,
>>> but the device tree we construct was incorrect
On 10 September 2014 12:28, Ard Biesheuvel wrote:
> On 10 September 2014 13:21, Peter Maydell wrote:
>> The conditional means we won't try to load the DTB even if the
>> ELF file fit into the address space entirely below loader_start,
>> which doesn't look right.
>>
>
> Ah right, I though loader_
The Wednesday 10 Sep 2014 à 10:13:31 (+0200), Markus Armbruster wrote :
> A block device consists of a frontend device model and a backend.
>
> A block backend has a tree of block drivers doing the actual work.
> The tree is managed by the block layer.
>
> We currently use a single abstraction Bl
Il 10/09/2014 14:02, Michael S. Tsirkin ha scritto:
> That's not too hard: we need two types that only
> differ in the vmstate.
> Use the correct one to create the device depending
> on the pc type.
>
> Put in that light, we definitely did create new
> devices while keeping old ones around for
> c
Convert into trace event. Otherwise the message
dma: unregistered DMA channel used nchan=0 dma_pos=0 dma_len=1
gets printed every time and fills up the log-file with 50 MiB / minute.
Signed-off-by: Philipp Hahn
---
v2:
Convert into trace event instead of tracking once per static bitma
Am 10.09.2014 um 13:34 hat Benoît Canet geschrieben:
> The Wednesday 10 Sep 2014 à 10:13:31 (+0200), Markus Armbruster wrote :
> > A block device consists of a frontend device model and a backend.
> >
> > A block backend has a tree of block drivers doing the actual work.
> > The tree is managed by
The Wednesday 10 Sep 2014 à 13:44:17 (+0200), Kevin Wolf wrote :
> Am 10.09.2014 um 13:34 hat Benoît Canet geschrieben:
> > The Wednesday 10 Sep 2014 à 10:13:31 (+0200), Markus Armbruster wrote :
> > > A block device consists of a frontend device model and a backend.
> > >
> > > A block backend ha
The Wednesday 10 Sep 2014 à 10:13:32 (+0200), Markus Armbruster wrote :
> The pointer from BlockBackend to BlockDriverState is a strong
> reference, managed with bdrv_ref() / bdrv_unref(), the back-pointer is
> a weak one.
>
> Convenience function blk_new_with_bs() creates a BlockBackend with its
On Wed, Sep 10, 2014 at 9:39 AM, Alistair Francis wrote:
> On Tue, Sep 9, 2014 at 11:59 PM, Peter Maydell
> wrote:
>> On 9 September 2014 14:35, Peter Crosthwaite
>> wrote:
>>> Does ARMv7M actually mandate the existence of RAM and flash like this
>>> at all?
>>
>> No. It does have a well define
From: Gonglei
Signed-off-by: Gonglei
---
Makefile.target | 2 +-
bootdevice.c| 142
include/sysemu/sysemu.h | 1 +
vl.c| 118 +---
4 files changed, 145 insertions(+),
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/virtio-net.c | 3 +++
1 file changed, 3 inserti
From: Gonglei
Add the function of updating bootindex about fw_boot_order list
in add_boot_device_path(). We should delete the old one if a
device has existed in global fw_boot_order list.
Signed-off-by: Gonglei
---
bootdevice.c | 21 +
1 file changed, 21 insertions(+)
diff
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/spapr_llan.c | 22 --
hw/ne
From: Gonglei
Sometimes, we want to modify boot order of a guest, but no need to
shutdown it. We can call dynamic changing bootindex of a guest, which
can be assured taking effect just after the guest rebooting.
For example, in P2V scene, we boot a guest and then attach a
new system disk, for co
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/ne2000.c | 12
1 file changed, 12
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/e1000.c | 10 ++
1 file changed, 10 ins
From: Gonglei
Introduce del_boot_device_path() to clean up fw_cfg content when
hot-unplugging a device that refers to a bootindex.
Signed-off-by: Gonglei
Signed-off-by: Chenliang
---
bootdevice.c| 21 +
include/sysemu/sysemu.h | 1 +
2 files changed, 22 insert
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/scsi/scsi-disk.c | 1 -
hw/scsi/scsi-generic.c | 1 -
include/hw/block/block.h | 1 -
3 f
From: Gonglei
Determine whether a given bootindex exists or not.
If exists, we report an error.
Signed-off-by: Gonglei
---
bootdevice.c| 15 +++
include/sysemu/sysemu.h | 1 +
2 files changed, 16 insertions(+)
diff --git a/bootdevice.c b/bootdevice.c
index d5b8789..f5
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/eepro100.c | 11 ++-
1 file changed, 10
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/usb/host-libusb.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/usb/dev-network.c | 11 +++
1 file changed,
From: Gonglei
On this way, we can assure the new bootindex take effect
during vm rebooting. Meanwhile set the initial value of
bootindex to -1.
Because ide devcies's unit property maybe
do not initialize when set_bootindex function is called,
so that we don't know its suffix. So we have to save
From: Gonglei
We must assure that the changed bootindex can take effect
when guest is rebooted. So we introduce fw_cfg_machine_reset(),
which change the fw_cfg file's bootindex data using the new
global fw_boot_order list.
Signed-off-by: Chenliang
Signed-off-by: Gonglei
---
hw/nvram/fw_cfg.c
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/i386/kvm/pci-assign.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff -
From: Gonglei
Since the "bootindex" property is a QOM property and not a qdev property
now, we must alias it explicitly for virtio-net-pci, as well as CCW and
s390-virtio.
Signed-off-by: Gonglei
---
hw/s390x/s390-virtio-bus.c | 2 ++
hw/s390x/virtio-ccw.c | 2 ++
hw/virtio/virtio-pci.c
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/ide/qdev.c | 42 +++
From: Gonglei
When set a device's bootindex to -1, we remove it from global
fw_boot_order list.
Signed-off-by: Gonglei
---
bootdevice.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bootdevice.c b/bootdevice.c
index 628596d..d50ead8 100644
--- a/bootdevice.c
+++ b/bootdevice.c
@@ -97,6 +
From: Gonglei
Remove bootindexA/B form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/block/fdc.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --
> -Original Message-
> From: Wood Scott-B07421
> Sent: Friday, September 05, 2014 6:47 PM
> To: Purcareata Bogdan-B43198
> Cc: qemu-...@nongnu.org; Caraman Mihai Claudiu-B02008; qemu-devel@nongnu.org
> Subject: Re: [Qemu-ppc] [PATCH 2/2] PPC: openpic_kvm: Filter region callbacks
> based on
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/misc/vfio.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/hw/
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/block/virtio-blk.c | 3 +++
1 file changed, 3 inser
From: Gonglei
when we remove bootindex form qdev.property to qom.property,
we can use those functions set/get bootindex property for all
correlative devices. Meanwhile set the initial value of
bootindex to -1.
Signed-off-by: Gonglei
---
bootdevice.c| 73
From: Gonglei
On this way, we can assure the new bootindex take effect
during vm rebooting.
Signed-off-by: Gonglei
---
bootdevice.c | 2 ++
hw/block/fdc.c | 3 ---
hw/block/virtio-blk.c| 2 --
hw/i386/kvm/pci-assign.c | 2 --
hw/misc/vfio.c | 1 -
hw/net/e10
From: Gonglei
Device should be removed from global boot list when
it is hot-unplugged.
Signed-off-by: Gonglei
---
bootdevice.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bootdevice.c b/bootdevice.c
index ae6ab4a..d69ab73 100644
--- a/bootdevice.c
+++ b/bootdevice.c
@@ -245,6 +245,8
Am 10.09.2014 um 10:13 hat Markus Armbruster geschrieben:
> The pointer from BlockBackend to BlockDriverState is a strong
> reference, managed with bdrv_ref() / bdrv_unref(), the back-pointer is
> a weak one.
>
> Convenience function blk_new_with_bs() creates a BlockBackend with its
> BlockDriverS
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/rtl8139.c | 10 ++
1 file changed, 10 i
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/lance.c | 12
hw/net/pcnet-pci
On 09/09/2014 08:30, Pavel Dovgaluk wrote:
From: Frederic Konrad [mailto:fred.kon...@greensocs.com]
On 08/09/2014 10:29, Paolo Bonzini wrote:
Il 08/09/2014 10:09, Frederic Konrad ha scritto:
By the way how do you want to have this discussion?
At the KVM forum? Or by phone on KVM phone call?
O
We shouldn't do anything in the switch block in enum's visit_type_
function, when the enum data's ->kind is not valid at all. This happens
when the dealloc visitor is called, after qmp input visitor returned
error.
Now, the input visitor will set ->kind to _MAX if the value is not
found, so that i
From: Gonglei
Determine whether a given bootindex exists or not.
If exists, we report an error.
Signed-off-by: Gonglei
---
bootdevice.c| 15 +++
include/sysemu/sysemu.h | 1 +
2 files changed, 16 insertions(+)
diff --git a/bootdevice.c b/bootdevice.c
index d5b8789..f5
From: Gonglei
Signed-off-by: Gonglei
---
Makefile.target | 2 +-
bootdevice.c| 142
include/sysemu/sysemu.h | 1 +
vl.c| 118 +---
4 files changed, 145 insertions(+),
From: Gonglei
when we remove bootindex form qdev.property to qom.property,
we can use those functions set/get bootindex property for all
correlative devices. Meanwhile set the initial value of
bootindex to -1.
Signed-off-by: Gonglei
---
bootdevice.c| 73
From: Gonglei
Sometimes, we want to modify boot order of a guest, but no need to
shutdown it. We can call dynamic changing bootindex of a guest, which
can be assured taking effect just after the guest rebooting.
For example, in P2V scene, we boot a guest and then attach a
new system disk, for co
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/virtio-net.c | 3 +++
1 file changed, 3 inserti
From: Gonglei
Introduce del_boot_device_path() to clean up fw_cfg content when
hot-unplugging a device that refers to a bootindex.
Signed-off-by: Gonglei
Signed-off-by: Chenliang
---
bootdevice.c| 21 +
include/sysemu/sysemu.h | 1 +
2 files changed, 22 insert
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/rtl8139.c | 10 ++
1 file changed, 10 i
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/spapr_llan.c | 10 ++
1 file changed, 1
From: Gonglei
When set a device's bootindex to -1, we remove it from global
fw_boot_order list.
Signed-off-by: Gonglei
---
bootdevice.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bootdevice.c b/bootdevice.c
index 628596d..d50ead8 100644
--- a/bootdevice.c
+++ b/bootdevice.c
@@ -97,6 +
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/lance.c | 12
hw/net/pcnet-pci
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/e1000.c | 10 ++
1 file changed, 10 ins
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
include/net/net.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/net
Currently, we call ioapic_service() immediately when we find the irq is still
active during eoi broadcast. But for real hardware, there's some dealy between
the EOI writing and irq delivery (system bus latency?). So we need to emulate
this behavior. Otherwise, for a guest who haven't register a pro
From: Gonglei
Since the "bootindex" property is a QOM property and not a qdev property
now, we must alias it explicitly for virtio-net-pci, as well as CCW and
s390-virtio.
Signed-off-by: Gonglei
---
hw/s390x/s390-virtio-bus.c | 2 ++
hw/s390x/virtio-ccw.c | 2 ++
hw/virtio/virtio-pci.c
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/net/ne2000.c | 12
1 file changed, 12
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/scsi/scsi-bus.c | 11 +++
1 file changed, 1
The Wednesday 10 Sep 2014 à 10:13:31 (+0200), Markus Armbruster wrote :
> A block device consists of a frontend device model and a backend.
>
> A block backend has a tree of block drivers doing the actual work.
> The tree is managed by the block layer.
>
> We currently use a single abstraction Bl
From: Gonglei
Remove bootindexA/B form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/block/fdc.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --gi
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/usb/dev-network.c | 11 +++
1 file changed,
From: Gonglei
On this way, we can assure the new bootindex take effect
during vm rebooting. Meanwhile set the initial value of
bootindex to -1.
Because ide devcies's unit property maybe
do not initialize when set_bootindex function is called,
so that we don't know its suffix. So we have to save
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/usb/host-libusb.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/block/virtio-blk.c | 3 +++
1 file changed, 3 inser
On Wed, Sep 10, 2014 at 9:32 PM, Christoffer Dall
wrote:
> On Wed, Sep 10, 2014 at 12:48 PM, Ard Biesheuvel
> wrote:
>> On 10 September 2014 12:43, Christoffer Dall
>> wrote:
>>> On Tue, Sep 09, 2014 at 03:53:43PM +0100, Peter Maydell wrote:
The pl011 and pl031 devices both use level trigge
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/usb/redirect.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/
From: Gonglei
On this way, we can assure the new bootindex take effect
during vm rebooting.
Signed-off-by: Gonglei
---
bootdevice.c | 2 ++
hw/block/fdc.c | 3 ---
hw/block/virtio-blk.c| 2 --
hw/i386/kvm/pci-assign.c | 2 --
hw/misc/vfio.c | 1 -
hw/net/e10
From: Gonglei
Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/ide/qdev.c | 42 +++
From: Gonglei
Device should be removed from global boot list when
it is hot-unplugged.
Signed-off-by: Gonglei
---
bootdevice.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bootdevice.c b/bootdevice.c
index ae6ab4a..d69ab73 100644
--- a/bootdevice.c
+++ b/bootdevice.c
@@ -245,6 +245,8
>+static void kvm_ioapic_eoi_inject_work(struct work_struct *work)
>+{
>+ int i, ret;
>+ struct kvm_ioapic *ioapic = container_of(work, struct kvm_ioapic,
>+ eoi_inject.work);
>+ spin_lock(&ioapic->lock);
>+ for (i = 0; i < IOAPIC_NU
On 05.09.14 16:31, mihai.cara...@freescale.com wrote:
>> -Original Message-
>> From: qemu-devel-bounces+mihai.caraman=freescale@nongnu.org
>> [mailto:qemu-devel-bounces+mihai.caraman=freescale@nongnu.org] On
>> Behalf Of Alexander Graf
>> Sent: Friday, September 05, 2014 12:08 PM
From: Gonglei
Remove bootindex form qdev property to qom, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.
Signed-off-by: Gonglei
---
hw/i386/kvm/pci-assign.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff -
Il 10/09/2014 14:30, Fam Zheng ha scritto:
> We shouldn't do anything in the switch block in enum's visit_type_
> function, when the enum data's ->kind is not valid at all. This happens
> when the dealloc visitor is called, after qmp input visitor returned
> error.
>
> Now, the input visitor will
101 - 200 of 341 matches
Mail list logo