x1+x2=m
x1x2=2m-1
x1^2+x2^2=(x1+x2)^2-2x1x2=m^2-4m+2=7
m^2-4m-5=0
m=5,-1
当m=5,x^2-5x+9=0.无实根.
当m=-1,x^2+x-3=0,有两实根,所以m=-1