On Fri, Jan 10, 2014 at 4:16 AM, Wei Liu <[email protected]> wrote:
> Thanks for bringing this to Xen-devel!
> On Thu, Jan 09, 2014 at 03:03:06PM -0800, Jordan Justen wrote:
>> On Thu, Jan 9, 2014 at 2:00 PM, Laszlo Ersek <[email protected]> wrote:
>> > On 01/09/14 22:47, Jordan Justen wrote:
>> >> On Thu, Jan 9, 2014 at 12:41 PM, Laszlo Ersek <[email protected]> wrote:
>> >>> On 01/09/14 01:45, Jordan Justen wrote:
>> >> I don't think this series claims to enable S3 for Xen, right?
>> >>
>> >> When someone looks at S3 for Xen, I might try to steer them towards
>> >> having Xen call MemDetect again, and branch of for Xen specific things
>> >> within MemDetect. I was not too excited about that aspect of r14946.
>> >
>> > No, the series doesn't *claim* to do that :), and I didn't test it, but
>> > since I could not see any immediate blocker when running on Xen, I
>> > figured we should add the feature generally, and then Xen users could
>> > happily hunt bugs in the common code. By adding code that doesn't run
>> > specifically on Xen we're making that harder.
>>
>> I'll try to update this to make a best effort of having S3 potentially
>> work for Xen.
>>
>> We should probably see if someone from xen-devel can verify that we
>> haven't managed to break normal OVMF boots on Xen (aside from the S3
>> issue).
>>
>
> Do you have a git tree somewhere? And some critical steps to test this
> series?

git://github.com/jljusten/edk2.git ovmf-s3-v4

For testing S3, I've been doing this:
OvmfPkg/build.sh qemu -enable-kvm \
  -debugcon file:debug.log -global isa-debugcon.iobase=0x402 \
  -cdrom ~/ISO/archlinux-2013.12.01-dual.iso \
  -m 512 -vga qxl

At the bash prompt I run:
echo -n mem > /sys/power/state

Laszlo already pointed out some key issues for Xen with S3, so you
might want to wait until I try to fix those in v5.

-Jordan

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to