Hi,
On Thu, 3 Sep 2015 17:45:34 +0100 Stefan Hajnoczi wrote:
> Thanks, applied to my net tree:
> https://github.com/stefanha/qemu/commits/net
For some reason, the patch isn't present on Stefan's last pull requests.
Can you please verify this gets merged?
Thanks,
Shmulik
On 09/17/2015 11:09 PM, David Gibson wrote:
Currently the VFIOContainer iommu_data field contains a union with
different information for different host iommu types. However:
* It only actually contains information for the x86-like "Type1" iommu
* Because we have a common listener the
Currently, EEH works based on the assumption that every VFIO PHB
has only one attached IOMMU group, which won't be true any more.
It means every PHB would have multiple attached IOMMU groups. In
order to apply the request EEH operation to the specified IOMMU
group (PE), the changes to host kernel
This introduces vfio_get_group_id() to retrieve the group ID from
the specified PCI device. The function will be used by subsequent
patches to support applying EEH operation on the specified IOMMU
group.
Signed-off-by: Gavin Shan
---
hw/vfio/pci.c | 12
This synchronizes the Linux header vfio.h because of the changes
introduced by below Linux commits:
900facd ("drivers/vfio: Support IOMMU group for EEH operations")
108f78d ("drivers/vfio: Support EEH API revision")
Signed-off-by: Gavin Shan
---
Currently, the EEH operations implemented in the callbacks in
sPAPRPHBClass, which will be dropped soon. This makes those
functions corresponding to the EEH callbacks in sPAPRPHBClass
public so that they can be called directly.
Signed-off-by: Gavin Shan
---
This patchset bases on David Gibson's git tree:
git://github.com/dgibson/qemu.git
(branch: vfio). And it requires host kernel changes which is being reviewed
this moment.
https://patchwork.ozlabs.org/patch/519135/
https://patchwork.ozlabs.org/patch/519136/
Currently, EEH works with the
On 09/17/2015 11:09 PM, David Gibson wrote:
The current vfio core code assumes that the host IOMMU is capable of
mapping any IOVA the guest wants to use to where we need. However, real
IOMMUs generally only support translating a certain range of IOVAs (the
"DMA window") not a full 64-bit
When QEMU is launched on Mac OS X without any arguments, an open file dialog
appears. The user is then expected to select a file to boot QEMU with. This code
was not compatible with GCC 4.9 (user-built, not Apple supplied). This patch
greatly simplifes the open file dialog feature and makes it
On Fri, Sep 18, 2015 at 08:42:54PM +0200, Thomas Huth wrote:
> On 18/09/15 14:00, Markus Armbruster wrote:
> > Several devices don't survive object_unref(object_new(T)): they crash
> > or hang during cleanup, or they leave dangling pointers behind.
> >
> > This breaks at least
QOM instance_init functions are not supposed to have any side-effects,
as new objects may be created at any moment for querying property
information (see qmp_device_list_properties()).
Move TCG initialization to realize time so it won't be called when just
doing object_new() on a X86CPU subclass.
From: Chen Gang
Only according to v1add implementation.
Signed-off-by: Chen Gang
---
target-tilegx/helper.h | 1 +
target-tilegx/simd_helper.c | 13 +
target-tilegx/translate.c | 4
3 files changed, 18 insertions(+)
From: Chen Gang
Only according to the v1shl, v1shru, and v1shrs implementations.
Signed-off-by: Chen Gang
---
target-tilegx/helper.h | 6 +
target-tilegx/simd_helper.c | 62 +
From: Chen Gang
Only according to helper_v1shrs.
Signed-off-by: Chen Gang
---
target-tilegx/helper.h | 8 +
target-tilegx/simd_helper.c | 77 +
target-tilegx/translate.c | 26
On Sep 18, 2015, at 2:33 PM, Alexander Graf wrote:
>
>
>> Am 18.09.2015 um 15:55 schrieb Programmingkid :
>>
>>
>>> On Sep 18, 2015, at 2:14 AM, Alexander Graf wrote:
>>>
>>>
>>>
Am 17.09.2015 um 14:42 schrieb Programmingkid :
On Wed, Sep 16, 2015 at 10:57:57AM +0200, Paolo Bonzini wrote:
[...]
> Otherwise looks good, I'll write a kvm-unit-tests patch for this.
I am planning to apply the series as soon as we get kvm-unit-tests
results.
If you think this is ready to get included as-is, even before we have it
tested by
This bug was fixed in the package qemu - 1:2.3+dfsg-5ubuntu6
---
qemu (1:2.3+dfsg-5ubuntu6) wily; urgency=medium
* Make qemu-system-common and qemu-utils depend on qemu-block-extra
to fix errors with missing block backends. (LP: #1495895)
* Cherry pick fixes for vmdk
On Fri, Sep 18, 2015 at 11:47:52PM +0100, Peter Maydell wrote:
> On 18 September 2015 at 19:25, Kevin O'Connor wrote:
> > +Additionaly, if the DMA interface is available then a read to the DMA
> > +Address will return 0x51454d5520434647 ("QEMU CFG" in big-endian
> > +format).
Public bug reported:
[ISSUE]
QEMU releases 2.3.1 and lower are forgetting to flush TLBs before
enabling the global dirty pages log and entering the final stage of
saving the VM.
[DESCRIPTION]
The situation is the following:
1. TLB misses is the only way for page dirtying in the TCG mode.
2. If
** Description changed:
[ISSUE]
QEMU releases 2.3.1 and lower are forgetting to flush TLBs before
enabling the global dirty pages log and entering the final stage of
saving the VM.
[DESCRIPTION]
The situation is the following:
1. TLB misses is the only way for page dirtying
On 2015/9/16 0:49, Paolo Bonzini wrote:
>
>
> Sorry, I haven't looked at it yet. I'll have to study the code. In the
> meanwhile, perhaps you can print "section" and "existing" please from gdb?
>
> Paolo
>
Hi, Paolo
We reproduced the issue today, and get below information by gdb (we
On Fri, Sep 18, 2015 at 05:30:43PM +1000, Gavin Shan wrote:
> This reverts commit 7cb18007 ("sPAPR: Don't enable EEH on emulated
> PCI devices") as rtas_ibm_set_eeh_option() isn't the right place
> to check if there has the corresponding PCI device for the input
> address, which can be PE address,
On Fri, Sep 18, 2015 at 05:30:44PM +1000, Gavin Shan wrote:
> This checks if the PCI device retrieved from the PCI device address
> is VFIO PCI device when enabling EEH functionality. If it's not
> VFIO PCI device, the EEH functonality isn't enabled.
>
> Signed-off-by: Gavin Shan
On 09/18/2015 02:56 PM, Markus Armbruster wrote:
> Wen Congyang writes:
>
>> On 09/18/2015 04:11 AM, Eric Blake wrote:
>>> On 09/17/2015 08:34 AM, Eric Blake wrote:
>>>
>
> I apply Markus's v8 patch and this series, make check will fail:
> TEST:
Add fw_cfg DMA interface specification in the documentation.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
docs/specs/fw_cfg.txt | 65 +++
1 file changed, 61 insertions(+), 4 deletions(-)
diff
Based on the specifications on docs/specs/fw_cfg.txt
This interface is an addon. The old interface can still be used as usual.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 2 +-
hw/nvram/fw_cfg.c | 228
Am 11.09.2015 um 17:49 hat Vasiliy Tolstov geschrieben:
> Hi! qcow2 have abilit to store vm state inside qcow2 file in space
> that not allocated to guest, but if i want to store vm state inside
> sheepdog storage with raw image what is the preferred place to store
> memory data?
> I simply can
ACK.
> On Sep 18, 2015, at 08:55 AM, Shmulik Ladkani
> wrote:
>
> Some drivers (e.g. vmware-tools) issue the VMXNET3_CMD_GET_ADAPTIVE_RING_INFO
> command.
>
> Currently, due to lack of support, a bogus value (-1) is returned.
>
> Support this command,
Signed-off-by: Wen Congyang
Signed-off-by: zhanghailiang
Signed-off-by: Gonglei
---
block.c | 6 ++---
block/quorum.c| 72 +--
Signed-off-by: Wen Congyang
Signed-off-by: zhanghailiang
Signed-off-by: Gonglei
---
blockdev.c | 48 ++
qapi/block-core.json | 34
This checks if the PCI device retrieved from the PCI device address
is VFIO PCI device when enabling EEH functionality. If it's not
VFIO PCI device, the EEH functonality isn't enabled.
Signed-off-by: Gavin Shan
---
hw/ppc/spapr_pci_vfio.c | 2 +-
1 file changed, 1
When packet is truncated during receiving, we drop the packets but
neither discard the descriptor nor add and signal used
descriptor. This will lead several issues:
- sg mappings are leaked
- rx will be stalled if a lots of packets were truncated
In order to be consistent with vhost, fix by
Implementation of the FW CFG DMA interface.
When running a Linux guest on top of QEMU, using the -kernel options, this
is the timing improvement for x86:
QEMU commit 16a1b6e and SeaBIOS commit e4d2b8c
QEMU startup time: .080
BIOS startup time: .060
Kernel setup time: .586
Total time: .726
QEMU
On 09/18/2015 04:11 AM, Eric Blake wrote:
On 09/17/2015 08:34 AM, Eric Blake wrote:
I apply Markus's v8 patch and this series, make check will fail:
TEST: tests/virtio-net-test... (pid=23648)
/x86_64/virtio/net/pci/basic:
qemu-system-x86_64:
Enable the fw_cfg DMA interface for all the x86 platforms.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/i386/pc.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index
Steve Ellcey / Leon Alrae reported that QEMU fails to build when
the VPATH directory is outside of the GIT tree, and the system
emulators & tools build is disabled. eg
cd ..
mkdir build
cd build
../qemu/configure --disable-system --disable-tools
make
(...)
make[1]: *** No
This reverts commit 7cb18007 ("sPAPR: Don't enable EEH on emulated
PCI devices") as rtas_ibm_set_eeh_option() isn't the right place
to check if there has the corresponding PCI device for the input
address, which can be PE address, not PCI device address.
Signed-off-by: Gavin Shan
On Fri, Sep 18, 2015 at 09:53:31AM +0100, Leon Alrae wrote:
> On 18/09/2015 09:24, Daniel P. Berrange wrote:
> > On Thu, Sep 17, 2015 at 07:38:53PM +0100, Peter Maydell wrote:
> >> On 17 September 2015 at 19:21, Steve Ellcey wrote:
> >>>
> >>> Following up to my own email.
On Thu, 17 Sep 2015 10:49:41 +0200
Thomas Huth wrote:
> The PAPR interface defines a hypercall to pass high-quality
> hardware generated random numbers to guests. Recent kernels can
> already provide this hypercall to the guest if the right hardware
> random number generator is
Eric Blake writes:
> On 09/16/2015 05:06 AM, Markus Armbruster wrote:
>> Fixes flat unions to get the base's base members. Test case is from
>> commit 2fc0043, in qapi-schema-test.json:
>>
>> { 'union': 'UserDefFlatUnion',
>> 'base': 'UserDefUnionBase',
>>
2015-09-18 12:02 GMT+03:00 Kevin Wolf :
> Doesn't sheepdog already support storing snapshots in the same image?
> I thought it would just work; at least, there's some code there for it.
Yes, qemu and sheepdog have ability to create internal snapshot, i
miss that, but when i'm
Eric Blake writes:
> On 09/17/2015 10:32 AM, Paolo Bonzini wrote:
>
> Can we revert this one, please? Checkpatch now warns about constructs
> like
> typedef struct MyDevice {
> DeviceState parent;
>
> int reg0, reg1, reg2;
> }
Am 18.09.2015 um 11:03 hat Vasiliy Tolstov geschrieben:
> 2015-09-18 12:02 GMT+03:00 Kevin Wolf :
> > Doesn't sheepdog already support storing snapshots in the same image?
> > I thought it would just work; at least, there's some code there for it.
>
> Yes, qemu and sheepdog have
Public bug reported:
It seems SMP support is not implemented for s390x target, at least when
not running under KVM. There is also no error message when starting
qemu, it just fails when the kernel tries to bring up the CPUs:
$ qemu-system-s390x -nographic -smp 8 -kernel s390x/kernel.debian
[
On Thu, Sep 17, 2015 at 07:38:53PM +0100, Peter Maydell wrote:
> On 17 September 2015 at 19:21, Steve Ellcey wrote:
> >
> > Following up to my own email. Apparently the reason I get this error is
> > that I am building with "--disable-tools --disable-system". I don't need
>
While working with qemu, IGD is a specific device in the case of pass through
so we need to identify that to handle more later. Here we define a table to
record all IGD types currently we can support. Also we need to introduce two
helper functions to get vendor and device ids to lookup that table.
Although we already have 'gfx_passthru' in b_info, this doesn't suffice
after we want to handle IGD specifically. Now we define a new field of
type, gfx_passthru_kind, to indicate we're trying to pass IGD. Actually
this means we can benefit this to support other specific devices just
by extending
Ian,
As we discussed previously,
http://patchwork.ozlabs.org/patch/457055/
now it's time to push this into on xen/tools side since all qemu stuffs
have been merged.
https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg02094.html
v4:
Ian,
Actually we had v3.5 online previously, which was
Enable the fw_cfg DMA interface for the ARM virt machine.
Based on Gerd Hoffman's initial implementation.
Signed-off-by: Marc Marí
---
hw/arm/virt.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index
Implement host-side of the FW CFG DMA interface both for x86 and ARM.
Based on Gerd Hoffman's initial implementation.
Gabriel L. Somlo (1):
fw_cfg: document fw_cfg_modify_iXX() update functions
Marc Marí (4):
fw_cfg DMA interface documentation
Implement fw_cfg DMA interface
Enable
From: "Gabriel L. Somlo"
Document the behavior of fw_cfg_modify_iXX() for leak-less updating
of integer-type blobs.
Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions
may be added later if necessary..
Signed-off-by: Gabriel Somlo
If quorum's child is broken, we can use mirror job to replace it.
But sometimes, the user only need to remove the broken child, and
add it later when the problem is fixed.
It is based on the following patch:
http://lists.nongnu.org/archive/html/qemu-devel/2015-09/msg04579.html
ChangLog:
v4:
1.
In some cases, we want to take a quorum child offline, and take
another child online.
Signed-off-by: Wen Congyang
Signed-off-by: zhanghailiang
Signed-off-by: Gonglei
---
block.c | 50
Signed-off-by: Wen Congyang
Signed-off-by: zhanghailiang
Signed-off-by: Gonglei
Cc: Luiz Capitulino
---
hmp-commands.hx | 28
hmp.c | 20
On Mon, Sep 14, 2015 at 10:32:14AM +0200, Paolo Bonzini wrote:
> On 11/09/2015 21:25, Eduardo Habkost wrote:
> > Convert the kvm_default_features and kvm_default_unset_features arrays
> > into a simple list of property/value pairs that will be applied to
> > X86CPU objects when using KVM.
> >
> >
On Fri, 18 Sep 2015 22:16:46 +0200
Laszlo Ersek wrote:
> On 09/18/15 10:58, Marc Marí wrote:
> > Enable the fw_cfg DMA interface for the ARM virt machine.
> >
> > Based on Gerd Hoffman's initial implementation.
> >
> > Signed-off-by: Marc Marí
> > ---
> >
On Fri, Sep 18, 2015 at 10:23 AM, Richard Purdie
wrote:
> On Fri, 2015-09-18 at 09:46 -0700, Peter Crosthwaite wrote:
>> >> My biggest fear is testing of the changes for the affected boards.
>> >> Peter, do you much coverage of these boards in your regressions?
On 09/18/15 10:58, Marc Marí wrote:
> Enable the fw_cfg DMA interface for the ARM virt machine.
>
> Based on Gerd Hoffman's initial implementation.
>
> Signed-off-by: Marc Marí
> ---
> hw/arm/virt.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff
On 09/18/2015 09:22 AM, Max Reitz wrote:
> blk_bs() will not necessarily return a non-NULL value any more (unless
> blk_is_available() is true or it can be assumed to otherwise, e.g.
> because it is called immediately after a successful blk_new_with_bs() or
> blk_new_open()).
>
> Signed-off-by:
Instead of requiring cpu.c to check if TCG was already initialized,
simply let the function be called multiple times.
Suggested-by: Igor Mammedov
Signed-off-by: Eduardo Habkost
---
target-i386/cpu.c | 4 +---
target-i386/translate.c | 6 ++
2
On Fri, Sep 18, 2015 at 10:58:44AM +0200, Marc Marí wrote:
> Implement host-side of the FW CFG DMA interface both for x86 and ARM.
>
> Based on Gerd Hoffman's initial implementation.
Thanks for working on this Marc!
Any chance you could add the patch below to the series (or merge it
into your
> Am 18.09.2015 um 15:55 schrieb Programmingkid :
>
>
>> On Sep 18, 2015, at 2:14 AM, Alexander Graf wrote:
>>
>>
>>
>>> Am 17.09.2015 um 14:42 schrieb Programmingkid :
>>>
>>> Is there a way to make USB work with Mac OS X on
* Paolo Bonzini (pbonz...@redhat.com) wrote:
> From: Peter Crosthwaite
>
> Move the size and mask globals for the "real" host page size to
> translate-common. This is to allow system-level code to use
> REAL_HOST_PAGE_ALIGN and friends in builds which hide
On Fri, 18 Sep 2015 14:25:09 -0400
"Kevin O'Connor" wrote:
> On Fri, Sep 18, 2015 at 10:58:44AM +0200, Marc Marí wrote:
> > Implement host-side of the FW CFG DMA interface both for x86 and
> > ARM.
> >
> > Based on Gerd Hoffman's initial implementation.
>
> Thanks for
On Fri, Sep 18, 2015 at 11:52 AM, Dr. David Alan Gilbert
wrote:
> * Paolo Bonzini (pbonz...@redhat.com) wrote:
>> From: Peter Crosthwaite
>>
>> Move the size and mask globals for the "real" host page size to
>> translate-common. This is to allow
On Tue, Sep 15, 2015 at 11:45:07AM -0700, Richard Henderson wrote:
> The function is now only used from within a single file.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Eduardo Habkost
Applied to x86 tree. Thanks!
--
Eduardo
On 09/18/15 10:58, Marc Marí wrote:
> Enable the fw_cfg DMA interface for the ARM virt machine.
>
> Based on Gerd Hoffman's initial implementation.
>
> Signed-off-by: Marc Marí
> ---
> hw/arm/virt.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff
On Fri, Sep 18, 2015 at 10:58:47AM +0200, Marc Marí wrote:
> Based on the specifications on docs/specs/fw_cfg.txt
>
> This interface is an addon. The old interface can still be used as usual.
>
> Based on Gerd Hoffman's initial implementation.
>
> Signed-off-by: Marc Marí
>
Rename the function so that the reason for its existence is clearer: it
does x86-specific initialization of TCG structures.
Signed-off-by: Eduardo Habkost
---
target-i386/cpu.c | 2 +-
target-i386/cpu.h | 2 +-
target-i386/translate.c | 2 +-
3 files changed, 3
To allow new code to ask the CPU classes for CPU model information and
allow QOM properties to be queried by qmp_device_list_properties(), we
need to be able to safely instantiate a X86CPU object without any
side-effects.
This series moves some code from x86_cpu_initfn() to x86_cpu_realizefn(),
On 09/18/2015 05:03 PM, gang.chen.5...@gmail.com wrote:
+uint64_t helper_v1add(uint64_t a, uint64_t b)
+{
+uint64_t r = 0;
+int i;
+
+for (i = 0; i < 64; i += 8) {
+int64_t ae = (int8_t)(a >> i);
+int64_t be = (int8_t)(b >> i);
+r |= ((ae + be) & 0xff) << i;
+
On 09/18/2015 05:14 PM, gang.chen.5...@gmail.com wrote:
From: Chen Gang
Only according to v1add implementation.
Signed-off-by: Chen Gang
---
target-tilegx/helper.h | 1 +
target-tilegx/simd_helper.c | 13 +
I tried from Ubuntu in Virtualbox and this is the error I now get and it
appears to be similar to the error from Cygwin. Configure seems to run
fine. Make fails. I'm officially lost.
./configure --cross-prefix=x86_64-w64-mingw32
(...)
CCqga/commands-win32.o
qga/commands-win32.c: In function
On 09/18/2015 03:44 PM, Peter Maydell wrote:
Well, if we're going to add a margin we need to add the worst-case margin.
I guess the worst case is that deltas of the insn_data words between each insn
are useless, and we need full 64-bit values to represent them -- 9 bytes for
the sleb128.
On 09/18/2015 04:41 PM, gang.chen.5...@gmail.com wrote:
+uint64_t helper_v4shl(uint64_t a, uint64_t b)
+{
+uint64_t m;
+
+b &= 63;
31. All of the v4 functions have the same error.
r~
On 18/09/2015 18:29, Claudio Fontana wrote:
>
> this is a first RFC for virtio-peer 0.1, which is still very much a work in
> progress:
>
> https://github.com/hw-claudio/virtio-peer/wiki
>
> It is also available as PDF there, but the text is reproduced here for
> commenting:
>
> Peer
On 18 September 2015 at 17:18, Richard Henderson wrote:
> On 09/18/2015 06:08 AM, Peter Maydell wrote:
>> You're still not allowing for your worst-case datatable size when we
>> calculate tcg_ctx.code_gen_buffer_max_size.
>
> Hum. What factor do you suggest?
>
> The maximum
On 09/18/15 22:24, Marc Marí wrote:
> On Fri, 18 Sep 2015 22:16:46 +0200
> Laszlo Ersek wrote:
>
>> On 09/18/15 10:58, Marc Marí wrote:
>>> Enable the fw_cfg DMA interface for the ARM virt machine.
>>>
>>> Based on Gerd Hoffman's initial implementation.
>>>
>>> Signed-off-by:
http://wiki.qemu.org/Features/vhost-user-ovs-dpdk
I'm running to problems attempting to try this out. qemu errors out with
qemu-system-x86_64: -object
memory-backend-file,id=mem,size=1024M,mem-path=/dev/hugepages,share=on:
unable to map backing store for hugepages: Cannot allocate memory
When the user puts QEMU in the background while holding down a key, QEMU will
not receive the keyup event when the user lets go of the key. When the user goes
back to QEMU, QEMU will think the key is still down causing stuck key symptoms.
This patch fixes this problem by releasing all keys when
On Fri, 2015-09-18 at 11:14 -0700, Peter Crosthwaite wrote:
> On Fri, Sep 18, 2015 at 10:23 AM, Richard Purdie
> wrote:
> > On Fri, 2015-09-18 at 09:46 -0700, Peter Crosthwaite wrote:
> >> >> My biggest fear is testing of the changes for the affected boards.
>
On 18 September 2015 at 19:25, Kevin O'Connor wrote:
> On Fri, Sep 18, 2015 at 10:58:44AM +0200, Marc Marí wrote:
>> Implement host-side of the FW CFG DMA interface both for x86 and ARM.
>>
>> Based on Gerd Hoffman's initial implementation.
>
> Thanks for working on this Marc!
This patch prevents the user from accidentally quitting QEMU by pushing
Command-Q or by pushing the close button on the main window. When the user does
one of these two things, a dialog box appears verifying with the user if he
wants to quit QEMU.
Signed-off-by: John Arbuckle
> Am 18.09.2015 um 20:38 schrieb Programmingkid :
>
>
>> On Sep 18, 2015, at 2:33 PM, Alexander Graf wrote:
>>
>>
>>
>>> Am 18.09.2015 um 15:55 schrieb Programmingkid :
>>>
>>>
On Sep 18, 2015, at 2:14 AM, Alexander Graf wrote:
When DT node names for PCI devices are generated by SLOF,
they are generated according to the type of the device
(for instance, ethernet for virtio-net-pci device).
Node name for hotplugged devices is generated by QEMU.
This patch adds the mechanic to QEMU to create the node
name according to the
Hi,
> -fw_cfg = fw_cfg_init_io(BIOS_CFG_IOPORT);
> +fw_cfg = fw_cfg_init_io_dma(BIOS_CFG_IOPORT, BIOS_CFG_IOPORT + 4, as);
> +as = g_malloc(sizeof(*as));
> +address_space_init(as, ram_below_4g, "pc.as");
> +fw_cfg = bochs_bios_init(as);
I think we can use
From: Marc-André Lureau
Not only it makes sense, but it gets rid of checkpatch warning:
WARNING: consider using qemu_strtosz in preference to strtosz
Also remove the tabs to please checkpatch.
Signed-off-by: Marc-André Lureau
From: Marc-André Lureau
If anything, it should recommend strtok_r!
(strtok_r() is reentrant-safe and thread-safe)
Signed-off-by: Paolo Bonzini
[Better matching and error message - Marc-André]
Signed-off-by: Marc-André Lureau
From: Marc-André Lureau
While reading the function I decided to write some tests.
Signed-off-by: Marc-André Lureau
Reviewed-by: Eric Blake
---
tests/test-cutils.c | 91
On 15.09.2015 08:11, Fam Zheng wrote:
> From: Stefan Hajnoczi
>
> The BlockJobTxn unit test verifies that both single jobs and pairs of
> jobs behave as a transaction group. Either all jobs complete
> successfully or the group is cancelled.
>
> Signed-off-by: Stefan
On Fri, Sep 18, 2015 at 02:06:39PM +0200, Markus Armbruster wrote:
> "Daniel P. Berrange" writes:
>
> > On Fri, Sep 18, 2015 at 09:53:31AM +0100, Leon Alrae wrote:
> >> On 18/09/2015 09:24, Daniel P. Berrange wrote:
> >> > On Thu, Sep 17, 2015 at 07:38:53PM +0100, Peter
On 09/17/2015 02:30 PM, Eric Blake wrote:
> On 09/07/2015 06:08 AM, Kővágó, Zoltán wrote:
>> They are required for flat unions (you still have to allocate the
>> structs).
>>
>> Signed-off-by: Kővágó, Zoltán
>> ---
>> qapi/opts-visitor.c | 15 +++
>> 1 file
On 14.09.2015 18:01, Alberto Garcia wrote:
> One of the limitations of the 'blockdev-snapshot-sync' command is that
> it does not allow passing BlockdevOptions to the newly created
> snapshots, so they are always opened using the default values.
>
> Extending the command to allow passing options
On 15.09.2015 08:11, Fam Zheng wrote:
> This will be reused by the coming new transactional completion code.
>
> Signed-off-by: Fam Zheng
> Reviewed-by: John Snow
> ---
> block/backup.c | 27 +--
> 1 file changed, 17 insertions(+), 10
On Thu 17 Sep 2015 03:48:04 PM CEST, Kevin Wolf wrote:
> bdrv_swap() has always been an ugly hack that we would rather have
> avoided. When it was introduced, we simply didn't have the
> infrastructure to update pointers instead of transplanting the
> contents of BDS object,
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
---
block/archipelago.c | 10 +-
block/sheepdog.c| 5 +++--
qom/cpu.c | 12 ++--
target-i386/cpu.c | 6 +++---
target-sparc/cpu.c | 10
On 11.09.2015 20:52, Max Reitz wrote:
> On 07.09.2015 09:34, Fam Zheng wrote:
>> Sometimes block jobs must execute as a transaction group. Finishing
>> jobs wait until all other jobs are ready to complete successfully.
>> Failure or cancellation of one job cancels the other jobs in the group.
>>
On 15.09.2015 08:11, Fam Zheng wrote:
> From: Stefan Hajnoczi
>
> Provide a BlockJobTxn to actions executed in a qmp 'transaction'
> command. This allows actions to make their block jobs either complete
> as a group or fail/cancel together.
>
> The next patch adds the
On 15.09.2015 08:11, Fam Zheng wrote:
> From: Stefan Hajnoczi
>
> Join the transaction when the 'transactional-cancel' QMP argument is
> true.
>
> This ensures that the sync bitmap is not thrown away if another block
> job in the transaction is cancelled or fails. This is
From: Petar Jovanovic
Instructions recip.{s|d} and rsqrt.{s|d} do not require 64-bit FPU neither
they require any particular mode for its FPU. This patch removes the checks
that may break a program that uses these instructions.
Signed-off-by: Petar Jovanovic
1 - 100 of 331 matches
Mail list logo