- 10 7月, 2009 22 次提交
-
-
由 Michael S. Tsirkin 提交于
control vector is saved/restored by virtio-pci, it does not belong in virtio. Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Michael S. Tsirkin 提交于
This fixes segfault reported by Kevin Wolf, and simplifies the code in msix_save. Reported-by: NKevin Wolf <kwolf@redhat.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Mark McLoughlin 提交于
Otherwise if you hot remove an eepro100 NIC and then migrate, you get: Unknown savevm section or instance 'eeprom' 0 on the destination side. Signed-off-by: NMark McLoughlin <markmc@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Mark McLoughlin 提交于
destroy_nic() requires that NICInfo::private by a PCIDevice pointer, but then goes on to require that the same pointer matches VLANClientState::opaque. That is no longer the case for virtio-net since qdev and wasn't previously the case for rtl8139, ne2k_pci or eepro100. Make the situation a lot more clear by maintaining a VLANClientState pointer in NICInfo. Signed-off-by: NMark McLoughlin <markmc@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Mark McLoughlin 提交于
If no tap,sndbuf= arg is supplied, we use a default value. If TUNSETSNDBUF fails in this case, we should not abort. Signed-off-by: NMark McLoughlin <markmc@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 G 3 提交于
Signed-off-by: NJohn Arbuckle <programmingkidx@gmail.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Nolan 提交于
":readahead=###:" suffix. Signed-off-by: Nolan Leake <nolan <at> sigbus.net> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Isaku Yamahata 提交于
Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Isaku Yamahata 提交于
Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Isaku Yamahata 提交于
Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Isaku Yamahata 提交于
Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Alexander Graf 提交于
In order to not execute code we just compiled, let's replace signrom with a shell script that does the same thing while staying compatible to pretty much every system available. This should make cross-compilation for windows easier. aliguori: fix build when objdir != srcdir Signed-off-by: NAlexander Graf <agraf@suse.de> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Anthony Liguori 提交于
This reverts commit 707c0dbc. Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Anthony Liguori 提交于
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Kevin Wolf 提交于
The performance of qcow2 has improved meanwhile, so we don't need to special-case it any more. Switch the default to write-through caching like all other block drivers. Signed-off-by: NKevin Wolf <kwolf@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Mark McLoughlin 提交于
On reflection, perhaps it does make sense to set a default value for the sndbuf= tap parameter. For best effect, sndbuf= should be set to just below the capacity of the physical NIC. Setting it higher will cause packets to be dropped before the limit is hit. Setting it much lower will not cause any problems unless you set it low enough such that the guest cannot queue up new packets before the NIC has emptied its queue. In Linux, txqueuelen=1000 by default for ethernet NICs. Given a 1500 byte MTU, 1Mb is a good choice for sndbuf. If it turns out that txqueuelen is actually much lower than this, then sndbuf is essentially disabled. In the event that txqueuelen is much higher, it's unlikely that the NIC will be able to empty a 1Mb queue. Thanks to Herbert Xu for this logic. Signed-off-by: NMark McLoughlin <markmc@redhat.com> Cc: Herbert Xu <herbert.xu@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Christoph Egger 提交于
Attached patch lets configure find xen headers and xen libs when called with --extra-cflags and --extra-ldflags options. Signed-off-by: NChristoph Egger <Christoph.Egger@amd.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Huang Ying 提交于
- MCE features are initialized when VCPU is intialized according to CPUID. - A monitor command "mce" is added to inject a MCE. - A new interrupt mask: CPU_INTERRUPT_MCE is added to inject the MCE. aliguori: fix build for linux-user Signed-off-by: NHuang Ying <ying.huang@intel.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Anthony Liguori 提交于
-
由 Paul Brook 提交于
Add explicit padding to MIPS signal frame structures. Signed-off-by: NPaul Brook <paul@codesourcery.com>
-
由 Paul Brook 提交于
Enable NPTL support for MIPS usermode emulation. Signed-off-by: NPaul Brook <paul@codesourcery.com>
-
由 Paul Brook 提交于
Implement MIPS ll/sc instructions using atomic compare+exchange. Signed-off-by: NPaul Brook <paul@codesourcery.com>
-
- 09 7月, 2009 8 次提交
-
-
由 Paul Brook 提交于
Implement cpu_set_tls for MIPS. Signed-off-by: NPaul Brook <paul@codesourcery.com>
-
由 Paul Brook 提交于
The clone syscall takes 6 args. Signed-off-by: NPaul Brook <paul@codesourcery.com>
-
由 Gerd Hoffmann 提交于
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
由 Gerd Hoffmann 提交于
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
由 Gerd Hoffmann 提交于
* fix secondary bus setup. * use base->name instead of "FIXME" for device name. Yes, the device name is redundant. Only for drivers converted to qdev already though. Once all drivers are converted we can and should kill it. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
由 Gerd Hoffmann 提交于
The only purpose DeviceType serves is creating a linked list of DeviceInfo structs. This removes DeviceType and add a next field to DeviceInfo instead, so the DeviceInfo structs can be changed that way. Elimitates a pointless extra level of indirection. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
由 Gerd Hoffmann 提交于
BusInfo is filled with name and size (pretty much like I did for DeviceInfo as well). There is also a function pointer to print bus-specific device information to the monitor. sysbus is hooked up there, I've also added a print function for PCI. Device creation is slightly modified as well: The device type search loop now also checks the bus type while scanning the list instead of complaining thereafter in case of a mismatch. This effectively gives each bus a private namespace for device names. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Signed-off-by: NPaul Brook <paul@codesourcery.com>
-
由 Gerd Hoffmann 提交于
Makes pci_qdev_register take a PCIDeviceInfo struct instead of a bunch of parameters. Also adds config_read and config_write callbacks to PCIDeviceInfo, so drivers needing these can be converted to the qdev device API too. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
- 08 7月, 2009 10 次提交
-
-
由 malc 提交于
-
由 malc 提交于
the qemu_malloc routines
-
由 Ulrich Hecht 提交于
Fixes getrlimit implementation that overwrote the result of the syscall instead of converting it Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
makes socketcall 64-bit clean so it works on 64-bit big-endian systems Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
pipedes is an address, it should not be signed (breaks for addresses > 0x80000000) Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Riku Voipio 提交于
linux-user=yes is not a reliable identifier that linux-user targets have been selected. user targets can be selected via --target-list as well.
-
由 vibi sreenivasan 提交于
Removes the following warning CC i386-linux-user/syscall.o cc1: warnings being treated as errors /media/nfs/qemu/linux-user/syscall.c: In function ‘do_syscall’: /media/nfs/qemu/linux-user/syscall.c:2219: warning: ‘array’ may be used uninitialized in this function Signed-off-by: NVibi Sreenivasan <vibi_sreenivasan@cms.com> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Arnaud Patard 提交于
This patch is fixing following issues : - commit 8fea3602 was applied to do_getsockname instead of do_accept. - Some syscalls were not checking properly the memory addresses passed as argument - Add check before syscalls made for cases like do_getpeername() where we're using the address parameter after doing the syscall - Fix do_accept to return EINVAL instead of EFAULT when parameters invalid to match with linux behaviour Signed-off-by: NArnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Arnaud Patard 提交于
There's a error When doing something like that : find / -type f -print0 | xargs -0 echo [ done in a arm chroot with qemu-arm and linux binfmt stuff or with find / -type f -print0 | qemu-arm -L <path> <path>/usr/bin/xargs -0 echo ] Doing this outsite qemu is fine. The problem was the huge number of parameters. Increasing MAX_ARG_PAGES is fixing that. While I was at it, I've modified linux-user/main.c to report error code of loader_exec. It helps to debug/know what's wrong. Signed-off-by: NArnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-