[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 12/14] tests/vm: netbsd autoinstall, using se
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v3 12/14] tests/vm: netbsd autoinstall, using serial console |
Date: |
Wed, 29 May 2019 14:02:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Cc'ing Marc-André (chardev)
On 5/29/19 1:52 PM, Philippe Mathieu-Daudé wrote:
> On 5/29/19 1:32 PM, Philippe Mathieu-Daudé wrote:
>> On 5/20/19 2:47 PM, Gerd Hoffmann wrote:
>>> Instead of fetching the prebuilt image from patchew download the install
>>> iso and prepare the image locally. Install to disk, using the serial
>>> console. Create qemu user, configure ssh login. Install packages
>>> needed for qemu builds.
>>>
>>> Signed-off-by: Gerd Hoffmann <address@hidden>
>>> Reviewed-by: Kamil Rytarowski <address@hidden>
>>> Tested-by: Thomas Huth <address@hidden>
> [...]
>>
>> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
>>
>
> And now:
>
> Tested-by: Philippe Mathieu-Daudé <address@hidden>
I tested this using Fedora 29:
$ qemu-system-x86_64 -version
QEMU emulator version 3.0.1 (qemu-3.0.1-3.fc29)
Now testing with:
$ qemu-system-x86_64 -version
QEMU emulator version 4.0.50 (v4.0.0-798-g8dc7fd56dd)
# Configured with: '../configure' '--target-list=x86_64-softmmu'
'--disable-tools'
I get:
~/source/qemu$ make vm-build-netbsd V=1
[...]
con recv: >o: Add a user
con recv: x: Finished configuring
con recv: >a: Configure network
configure o: Add a user
con recv: Which network device would you like to use?
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv:
con recv: qqqqqqqqqqqqqqqqqqqqqqqqqk Available interfaces >a: vioif0
con send: a<enter>
con recv: x: Exitqqqqqqqqqqqqqqqqqqqqqqqqqj
con recv: To be able to use the network, we need answers to the
following:Network media type
con send: <enter>
con recv: : qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk Perform autoconfiguration?
>a: Yes b: Noqqqqqqqqqqqqqqqqq
console: *** read timeout ***
console: waiting for: 'a: Yes'
console: line buffer:
con recv: qqqqqqqqqqqqqqj
Failed to prepare guest environment
Traceback (most recent call last):
File "/home/phil/source/qemu/tests/vm/basevm.py", line 350, in main
return vm.build_image(args.image)
File "tests/vm/netbsd", line 147, in build_image
self.console_wait_send("a: Yes", "a\n")
File "/home/phil/source/qemu/tests/vm/basevm.py", line 250, in
console_wait_send
self.console_wait(wait)
File "/home/phil/source/qemu/tests/vm/basevm.py", line 212, in
console_wait
chars = vm.console_socket.recv(1024)
timeout: timed out
DEBUG:QMP:>>> {'execute': 'quit'}
DEBUG:QMP:<<< {u'return': {}}
tests/vm/Makefile.include:43: recipe for target
'/home/phil/.cache/qemu-vm/images/netbsd.img' failed
make: *** [/home/phil/.cache/qemu-vm/images/netbsd.img] Error 2
Did something related to the serial console/chardev change?
Anyway your patch works with qemu-stable, so the series is good to go IMO.
Regards,
Phil.
- [Qemu-devel] [PATCH v3 06/14] tests/vm: proper guest shutdown, (continued)
- [Qemu-devel] [PATCH v3 06/14] tests/vm: proper guest shutdown, Gerd Hoffmann, 2019/05/20
- [Qemu-devel] [PATCH v3 02/14] tests/vm: python3 fixes, Gerd Hoffmann, 2019/05/20
- [Qemu-devel] [PATCH v3 11/14] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
- [Qemu-devel] [PATCH v3 13/14] tests/vm: fedora autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
- [Qemu-devel] [PATCH v3 12/14] tests/vm: netbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
- [Qemu-devel] [PATCH v3 10/14] tests/vm: openbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
- Re: [Qemu-devel] [PATCH v3 00/14] tests/vm: serial console autoinstall, misc fixes., Gerd Hoffmann, 2019/05/29
- Re: [Qemu-devel] [PATCH v3 00/14] tests/vm: serial console autoinstall, misc fixes., Alex Bennée, 2019/05/30
- Message not available