[Qemu-devel] How to make shadow memory for a process? and how to trace the data propation from the instruction level in QEMU?

2010-11-13 Thread F. Zhang
Hi, I am a newbie of QEMU. I want to use the QEMU for the dynamic analysis of malware, usually called “taint analysis”. The main idea is to tag data from some specific sources, for example, network packets, files in a harddisk, and user inputs and so on, and then trace the propagation of the ta

[Qemu-devel] Re: [PATCH] virtio-9p: fix build on !CONFIG_UTIMENSAT v2

2010-11-13 Thread Chris Wright
* Hidetoshi Seto (seto.hideto...@jp.fujitsu.com) wrote: > +/* > + * Fallback: use utimes() instead of utimensat(). > + * See commit 74bc02b2d2272dc88fb98d43e631eb154717f517 for known problem. > + */ > +struct timeval tv[2]; > +int i; > + > +for (i = 0; i < 2; i++) { > +

[Qemu-devel] Re: Cannot not unplug cold-plugged devices

2010-11-13 Thread Isaku Yamahata
On Sat, Nov 13, 2010 at 10:59:15PM +0200, Michael S. Tsirkin wrote: > On Fri, Nov 12, 2010 at 09:50:30PM +0900, Isaku Yamahata wrote: > > On Fri, Nov 12, 2010 at 01:26:30PM +0200, Michael S. Tsirkin wrote: > > > No, I am just trying to understand why is hotplug event dangerous. > > > We still get i

[Qemu-devel] Issue with block/vmdk

2010-11-13 Thread François Revol
I tried to boot the vmdk generated by the Haiku build system here but it aborted. It seems the header has the capacity field set to 0, to mean that there is no embedded grain directory if I understand the vbox sources... At least the same image boots perfectly in VBox. If anyone wants to test :

[Qemu-devel] [PATCH] pci: split config update for dev assignment

2010-11-13 Thread Michael S. Tsirkin
Device assignment in qemu-kvm wants to update config array without any side-efects. Make it easier to do so. Signed-off-by: Michael S. Tsirkin --- Alex, I think your work on dev assignment will be easier if I apply this on qemu.kvm. Right? Let me know. hw/pci.c | 12 ++-- 1 files cha

[Qemu-devel] Re: [PATCH v2 1/9] pci: pci_default_cap_write_config ignores wmask

2010-11-13 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 10:46:10AM -0700, Alex Williamson wrote: > Make use of wmask, just like the rest of config space. > > Signed-off-by: Alex Williamson Hmm, this will create conflicts on merging with qemu.kvm which already has w1mask in same function. I'll apply a patch splitting mask use t

[Qemu-devel] Re: [PATCH v2 9/9] pci: Store capability offsets in PCIDevice

2010-11-13 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 10:47:21AM -0700, Alex Williamson wrote: > This not only makes pci_find_capability a directly lookup, but also > allows us to better track added capabilities and avoids the proliferation > of random additional capability offset markers. > > Signed-off-by: Alex Williamson

[Qemu-devel] Re: Cannot not unplug cold-plugged devices

2010-11-13 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 09:50:30PM +0900, Isaku Yamahata wrote: > On Fri, Nov 12, 2010 at 01:26:30PM +0200, Michael S. Tsirkin wrote: > > No, I am just trying to understand why is hotplug event dangerous. > > We still get it if we do device add before starting the VM, right? > > I'm not sure if it

[Qemu-devel] State of EHCI emulation for QEMU

2010-11-13 Thread Jan Kiszka
Hi all, as you may know, there is an experimental git repository at git://git.kiszka.org/qemu.git ehci that contains (primarily) David's work on an EHCI model for QEMU, infrequently merges with latest git by me. As both David and I are short on time ATM to drive this towards mainline int

[Qemu-devel] [Bug 643430] Re: system_powerdown is working in qemu-kvm with KVM enabled for FreeBSD guests

2010-11-13 Thread ero-sennin
The updated bios.bin works fine for me, thanks. -- system_powerdown is working in qemu-kvm with KVM enabled for FreeBSD guests https://bugs.launchpad.net/bugs/643430 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New St

[Qemu-devel] Re: [SeaBIOS] [PATCH] fix virtio-blk failure after reboot

2010-11-13 Thread Kevin O'Connor
On Tue, Nov 09, 2010 at 08:46:43AM +0200, Gleb Natapov wrote: > On Mon, Nov 08, 2010 at 06:59:37PM -0500, Kevin O'Connor wrote: > > On Wed, Sep 15, 2010 at 06:31:44PM +0200, Gleb Natapov wrote: > > > vring_virtqueue should be zeroed otherwise old values will be reused > > > after reboot. > > > > >

[Qemu-devel] Re: [SeaBIOS] [PATCH v3 0/2] pciinit: fix overflow when bar allocation

2010-11-13 Thread Kevin O'Connor
On Thu, Oct 28, 2010 at 03:54:34PM +0900, Isaku Yamahata wrote: > Changes v2 -> v3: > - use [first, last] instead of [start, end) > > Changes v1 -> v2: > - add comment. > > Patch description: > This patch set fixes PCI bar allocation when bar overflow occured. > I checked if pmm_alloc facility ca

Re: [Qemu-devel] Log Console Output to File

2010-11-13 Thread qemu
Hi, A bit more on this - as I have been trying to get it working ... :-). The command you provided did work if I use /dev/tty in place of stdio (i.e. -serial /dev/tty) ... except that it only "starts" to work once I have a login prompt in QEMU (and then also in my command window). I'm try

Re: [Qemu-devel] [PATCH] usb-linux: allow multiple devices with matching IDs

2010-11-13 Thread Grazvydas Ignotas
On Wed, Nov 10, 2010 at 6:01 PM, Markus Armbruster wrote: > Grazvydas Ignotas writes: > >> Right now if we pass through multiple USB devices with matching vendor >> and product IDs, only first one is passed to guest, as the code thinks >> second device is already attached. The only way to get tho

Re: [Qemu-devel] No Virtual Console

2010-11-13 Thread qemu
That's the problem - thanks!!! Now I just need to figure out how to log all the Linux boot info to a file. Take care, ... Russell On Fri, Nov 12, 2010 12:03 PM, Mulyadi Santosa wrote: > On Fri, Nov 12, 2010 at 16:49, wrote: > > Yes - that's it! The SDL window. I can't get it

Re: [Qemu-devel] [PATCH 1/2] Delete useless 'extern' qualifiers for functions

2010-11-13 Thread Stefan Weil
Am 13.11.2010 13:49, schrieb Blue Swirl: 'extern' qualifier is useless for function declarations. Delete them. Signed-off-by: Blue Swirl --- cache-utils.h | 2 +- cmd.h | 36 darwin-user/commpage.c | 2 +- darwin-user/syscall.c | 24 +- dis-asm.h | 85 +++---

[Qemu-devel] [PATCH 2/2] Replace 'extern inline' with 'static inline'

2010-11-13 Thread Blue Swirl
Signed-off-by: Blue Swirl --- tests/cris/check_abs.c |5 +++-- tests/cris/check_addc.c |3 ++- tests/cris/check_addcm.c |6 -- tests/cris/check_bound.c |9 ++--- tests/cris/check_ftag.c | 12 tests/cris/check_int64.c |6 -- tests/cris/check_lz.c

[Qemu-devel] [PATCH 1/2] Delete useless 'extern' qualifiers for functions

2010-11-13 Thread Blue Swirl
'extern' qualifier is useless for function declarations. Delete them. Signed-off-by: Blue Swirl --- cache-utils.h |2 +- cmd.h | 36 darwin-user/commpage.c |2 +- darwin-user/syscall.c | 24 +- di

[Qemu-devel] [PATCH 0/2] Fix uses of 'extern' qualifier for functions

2010-11-13 Thread Blue Swirl
Blue Swirl (2): Delete useless 'extern' qualifiers for functions Replace 'extern inline' with 'static inline' cache-utils.h |2 +- cmd.h | 36 darwin-user/commpage.c |2 +- darwin-user/syscall.c | 24 +

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Jan Kiszka
Am 13.11.2010 11:54, Stefan Hajnoczi wrote: > On Sat, Nov 13, 2010 at 10:09 AM, Jan Kiszka wrote: >> Am 13.11.2010 11:01, Michael Tokarev wrote: >>> Why it is trying to print things to stderr is a different >>> matter, it should be using a proper error-reporting routine, >>> but this is a differen

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Stefan Hajnoczi
On Sat, Nov 13, 2010 at 10:09 AM, Jan Kiszka wrote: > Am 13.11.2010 11:01, Michael Tokarev wrote: >> 13.11.2010 10:51, Jan Kiszka wrote: >>> Am 13.11.2010 08:49, Stefan Hajnoczi wrote: On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: > Hi, > > both after hard and guest-initiat

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Jan Kiszka
Am 13.11.2010 11:01, Michael Tokarev wrote: > 13.11.2010 10:51, Jan Kiszka wrote: >> Am 13.11.2010 08:49, Stefan Hajnoczi wrote: >>> On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: Hi, both after hard and guest-initiated reset, something is seriously broken with virtio bloc

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Michael Tokarev
13.11.2010 10:51, Jan Kiszka wrote: > Am 13.11.2010 08:49, Stefan Hajnoczi wrote: >> On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: >>> Hi, >>> >>> both after hard and guest-initiated reset, something is seriously broken >>> with virtio block devices. If I reset my Linux guest while still in